CSS Animation Techniques
Animating elements with CSS, from timing functions to keyframe sequencing.
Content tagged css-animation
Post:An Interactive Guide to CSS
cubic-bezier()Drag two control points, design your own curve.An interactive guide to CSS cubic-bezier(): what the four numbers control, how to build overshoot and anticipation curves, hand-tuned recipes, and a draggable curve playground.Post:An Interactive Guide to CSS Easing Functions
Feel how the five easing keywords shape motion.A visual guide to CSS timing functions: how time maps to progress, why ease, linear, ease-in, ease-out and ease-in-out feel so different, and when to use each.Post:An Interactive Guide to the CSS
linear()Easing FunctionChain custom stops into springs, bounces, and elastics.A deep, interactive guide to CSS's linear() easing function — comma-separated stops, percentage positions, and building spring and bounce curves cubic-bezier() can't express.Tutorial:Animate and Type-Check CSS Variables with
@propertyGive CSS custom properties real types so they animate.Register CSS custom properties (CSS variables) with @property — a syntax, an inherits rule and an initial value — so they animate in transitions and keyframes, fall back safely on invalid values and always have a default. Covers rotating gradients, counting numbers and per-axis motion, CSS.registerProperty(), performance, browser fallbacks and common pitfalls.Tutorial:Animating
height: autoin CSS withinterpolate-sizeAnimate height to auto in pure CSS, no JavaScript.Animate height: auto in CSS with interpolate-size and calc-size(): smooth accordions and details panels without JavaScript, plus fallbacks and reduced motion.