Motion
Motion is quick and physical: things ease out like they have weight, and nothing makes you wait. Every animation respects prefers-reduced-motion.
Easing
Hover a row to see the curve run.
ease.out--ease--outDefault. Quick start, gentle settle (ease-out quart). Hovers, menus, sliders, reveals.
cubic-bezier(0.165, 0.84, 0.44, 1)ease.in-out--ease--in-outDeliberate moves with a clear start and end. Button press scale, hero image reveal.
cubic-bezier(0.77, 0, 0.175, 1)ease.spring--ease--springSlight overshoot. Playful toggles like the hamburger icon.
cubic-bezier(0.175, 0.885, 0.32, 1.275)Duration
| Token | Value | Use for |
|---|---|---|
duration.instant--duration--instant | 0.1s | Image swaps in the project-card cycle |
duration.fast--duration--fast | 0.2s | Hover color and scale changes |
duration.base--duration--base | 0.4s | Menus, accordions, slider moves, button fills |
duration.slow--duration--slow | 0.8s | Scroll reveals and entrance animations |
.thing {
transition: transform var(--duration--fast) var(--ease--out);
}
.thing:hover {
transform: scale(1.02);
}Accessibility
When someone has prefers-reduced-motion: reduce set, entrance animations, scroll reveals, the divider bend and the scroll-driven cover tilt are switched off, and smooth scrolling is disabled. Content is always visible without JavaScript; reveals only hide elements after the script has loaded.
@media (prefers-reduced-motion: no-preference) {
.my-entrance {
animation: rise var(--duration--slow) var(--ease--out) both;
}
}