Design · 2026 · Jasa

However cool the motion, it cannot get in the way of the text

I added lots of motion, then found the text dim and blurry. The causes were one global style and a few easy-to-miss defaults.

Why text goes blurry

The site's styles include svg { stroke: currentColor; stroke-width: 1.5 }, meant for line icons. But stroke is inherited, so small text in my animations got an outline. It did not turn darker; it turned into a smudge.

resilientBeforeresilientAfter
The same line of text, with an inherited outline on the left. This really happened on my site.

The fix is simple: turn the stroke off for animated SVGs, then turn it back on only for shapes that need lines.

Why text goes dim

Scroll reveals usually start fully transparent and fade in slowly. If they also wait for a scroll position, readers see a dark blank stretch. Now content triggers as soon as it enters the screen, starts at 40% brightness, and is sharp in under half a second.

Other ways to blur text

Other hidden costs

A background glow once widened the page by 146 pixels and added a horizontal scrollbar, and focus moving after the intro drew a blue frame around the whole page. So after adding any motion I check for horizontal scrolling, console errors, and whether the pause button works.

However good the animation looks, it's wasted if you can't read the words.

← All notes