Hacker News

cheeaun
Multi-stroke text effect in CSS yuanchuan.dev

HughParry4 minutes ago

I wonder why the firefox CSS rendering engine prefers to smooth out. Looks like a dramatically different implementation, but maybe that's just because it's an edge case of rendering

nicbou3 hours ago

Neat! It's unfortunate that the rendering is so different between browsers.

Have you tried the same thing with shadows? They can also be stacked, I believe.

LoganDark19 minutes ago

Shadows have to be spread in a circle to achieve an outline, so the general shape will converge to roughly a circle, barely following the shape of the text.

shutterkilleran hour ago

This is a neat trick. I like that it stays in plain CSS instead of falling back to SVG, though I'd be curious how robust it is across font rendering differences.

hn-front (c) 2024 voximity
source