Skip to main content

Harshal V. LADHE

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.
    Published at:
    Categories:Animations
    Estimated reading time:16 min read
  • 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.
    Published at:
    Categories:Animations
    Estimated reading time:18 min read
  • Post:An Interactive Guide to the CSS linear() Easing Function

    Chain 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.
    Published at:
    Categories:Animations
    Estimated reading time:28 min read
  • Tutorial:Animate and Type-Check CSS Variables with @property

    Give 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.
    Published at:
    Categories:CSS
    Estimated reading time:8 min read
  • Tutorial:Animating height: auto in CSS with interpolate-size

    Animate 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.
    Published at:
    Categories:Animations
    Estimated reading time:9 min read