
CSS Techniques
CSS Animations Tutorial: Keyframes, Transitions, and Timing
CSS animations come in two forms: transitions and keyframe animations.
Once the fundamentals are solid, CSS becomes genuinely fun. Transitions, keyframe animations, custom properties, and gradients let you build motion and depth with almost no JavaScript. These tutorials focus on techniques you'll actually use in production, with an eye on performance and accessibility so your polish never comes at the cost of usability.

CSS animations come in two forms: transitions and keyframe animations.

A CSS gradient is a smooth blend between two or more colors that the browser paints as an image, usable anywhere an image is valid.

CSS variables, or custom properties, store a reusable value declared with a double-hyphen name like --brand and read with the var() function.