Motion
Name the motion, not the keyframes
Each block below opts into one recipe with a single motion field. The compiler owns the timing, the reduced-motion fallback and the print state.
On arrival
Revenue is up 12%
This card fades and rises into place once, the first time it scrolls into view.
Plan
Agree on the outcome.
Build
Ship behind a flag.
Measure
Read the numbers.
Roll out
Open it to everyone.
- Revenue
- $120K
- Customers
- 4,200
- Retention
- 94%
On a state change
Price per seat
$12
Billed
Monthly
Price per seat
$10
Billed
Yearly
On interaction
Overview
The selected-tab marker slides to the new tab, and the panel fades in.Pricing
Arrow keys, Home and End move between tabs exactly as before.Frequently asked
Under reduced motion the marker and the panel switch at once.Does it work offline?
Yes. Every recipe is CSS inside the page, plus a few lines of runtime for state changes.
What happens with reduced motion?
Sections snap open and shut, and arrivals show in place.
Can a spec add its own animation?
No. A spec names a recipe; the compiler writes the CSS.