Narleaf Motion example · blog · fictional content ← Back to docs
Blog Name

Notes on building things for the web.

Short, practical writing about design, code and the small decisions that make software pleasant to use.

Featured

Why your site doesn't need a scroll animation library

Modern browsers can tie animation directly to scroll position. Here is what that means for the code you ship.

Nov 12, 2026 · 6 min read

Recent posts

Nov 04, 2026 · 4 min read

Designing empty states people actually read

An empty screen is a chance to teach, not a gap to fill. A few patterns that work.

Oct 21, 2026 · 8 min read

A calmer way to write CSS

Fewer selectors, more custom properties, and why zero-specificity defaults make overrides painless.

Oct 09, 2026 · 5 min read

Accessibility is mostly about restraint

The simplest accessible interface is usually the one with the fewest surprises.

Sep 27, 2026 · 7 min read

What I learned shipping a side project in a weekend

Scope is the only lever that matters. Notes on cutting features without cutting corners.

Latest article

Why your site doesn't need a scroll animation library

Nov 12, 2026 · 6 min read

For years, animating things as they scroll into view meant JavaScript: an observer, some classes, and a handful of event listeners. That is no longer the only way.

Browsers now support animations driven by scroll position through CSS alone. You describe what should change, and the browser does the work off the main thread, so it stays smooth even when the page is busy.

What changes in practice

There is nothing to initialise and nothing to clean up. A single attribute on an element is enough, and if the browser does not support the feature, the content simply shows up as normal.

The best animation code is the code you never have to run.

That fallback matters. Progressive enhancement means nobody is locked out of your content because their browser is a version behind, and people who prefer reduced motion get a still page without extra work.

Worth knowing: because the animation follows scroll position, taller elements take longer to animate than short ones. Test with real content, not just placeholder cards.

If you are building a marketing page, a portfolio or a blog like this one, this is usually all you need.

About this blog

Blog Name is a placeholder blog created to show Narleaf Motion on a reading-focused page. The posts and details are placeholders.