All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Recreating a retro multi-stroke text effect with CSS

By

yuanchuan

25d ago· 3 min readen

Summary

A developer describes their journey trying to replicate a retro multi-stroke text effect using CSS. They initially struggled with the text-stroke property because it only accepts a single value, and stacking elements didn't work. After seeing the effect again in the book "Graphic Japan: from woodblock and zen to manga and kawaii," they became motivated to try a new approach by stacking several elements.

Key quotes

· 4 pulled
I used to see that retro multi-stroke text effect quite often and tried to replicate it using the CSS text-stroke property, but the results never quite matched.
Because text-stroke accepts a single value, stacking elements was the only workaround I could think of, though it didn't seem to work.
One evening late last year, I was eager to give it another shot after seeing the text effect again in the book Graphic Japan : from woodblock and zen to manga and kawaii.
I kept stacking several elements
Snippet from the RSS feed
I used to see that retro multi-stroke text effect quite often and tried to replicate it using the CSS text-stroke property, but the results never quite matched. Because text-stroke accepts a single value, stacking elements was the only workaro

You might also wanna read