Animations That Used to Need JavaScript Are Now Just CSS
You know the drill. You send your developer a Figma link with a lovely micro-animation - a button that gently scales up, a card that slides in on scroll, a modal that fades in smoothly - and the answer comes back: "Sure, but that'll need more JavaScript than it looks like." Good news for 2026: a growing share of these effects can now be done in pure CSS, without a single line of script. And that changes not just what's possible, but how fast and cheap it is to build.
What's new: scrolling, "starting styles," and stagger effects
The past year brought three things to CSS that designers are going to love, because they map directly onto requests they make all the time.
First, scroll-driven animations (scroll-timeline and view-timeline) let you tie an animation directly to scroll position or to when an element enters the viewport. Previously, this meant listening to scroll events in JavaScript, recalculating percentages, and manually updating styles - expensive on performance and fragile to maintain. Today it's written in CSS, and the browser handles it smoothly on its own.
Second, @starting-style finally solves an annoying problem: how to animate an element appearing from display: none. Before, you had to "reveal" the element first, wait a frame, and only then trigger the animation - a classic setTimeout hack. Now @starting-style tells the browser what the animation should visually start from, and the rest happens automatically.
Third, the new sibling-index() and sibling-count() functions enable stagger effects - like list items sliding in one after another with a small delay between them - purely through CSS, without generating inline styles for every element individually.
Why this changes what counts as "easy" and "hard"
This is probably the most interesting part for designers: the price list of complexity is shifting. Effects that were recently in the "expensive, because JS" category have dropped into "cheap, because CSS." On the flip side, some things that look simple - like a precisely controlled custom scroll with physics, or complex 3D transforms tied to a gyroscope - are just as demanding as they always were.
A classic misconception is estimating difficulty by visual complexity: "it looks simple, so it'll be quick." The reality is the opposite - difficulty is usually determined by what the animation depends on (scroll, state, user input) and how many edge cases need handling (what happens on mobile, on a slow connection, with JavaScript disabled, for screen readers). The good news is that CSS-based solutions tend to be more accessible and more performant than their JS equivalents too, because the browser can optimize them on its own.
What this means for designer-developer collaboration
This shift is a good opportunity to reset how handoff conversations go. Instead of asking "can this be done?", it's worth asking directly: "what should this react to?" Is it tied to scroll, to hover, to page load, to user input? The answer to that one question often decides whether an effect is a ten-minute job or a whole sprint.
I'd recommend designers add one sentence describing behavior alongside their Figma prototypes or animated references - not just "make it move like this," but "as the user scrolls down, the card grows from 90% to 100% and the background fades." A concrete behavior description, not just a visual, saves a round of follow-up questions.
One practical tip to close on
Next time you're designing a micro-interaction, ask yourself: "Is this tied to scroll, to an element's state (open/closed, hover), or to a sequence of multiple elements?" If so, there's a good chance it can be written today in pure CSS - faster, cheaper, and with better performance than JavaScript would offer. And if you're not sure, ask your developer exactly that question - it'll save you both time and nerves.
The web in 2026 is moving toward a place where the browser does more and more of the work for us. For designers, that means one thing: the room for subtle, thoughtful detail keeps growing, without the implementation budget growing along with it.