Web Animations Masterclass (CSS, JS, SVG, and Spring)
Dive into web animations! Explore posts, tutorials, and snippets on CSS transitions, JavaScript-powered effects, SVG animation, spring physics, and performance optimization for stunning UI/UX.
Content in Animations
Post:Advanced CSS
@starting-style: Performance & AccessibilityShip smooth, accessible, framework-friendly CSS entry animations.Keep @starting-style fast and accessible: rendering performance, prefers-reduced-motion, framework use, and comparisons with @keyframes and View Transitions.Post:Animate Dialogs & Popovers with CSS
@starting-styleAnimate display: none, dialogs, and popovers in CSS.Animate display: none in CSS with allow-discrete and @starting-style — native <dialog> and Popover API examples, plus the top layer explained.Post:CSS
@starting-styleEntry Animations: Practical PatternsBuild cards, toasts, and menus with reusable entrances.Reusable @starting-style entry animation patterns: cards, toasts, sidebars, dropdowns, accordions, chat messages, and framework-rendered lists.Post:Mastering CSS
@starting-style: The Complete Beginner's GuideGive entering elements a real "before" to animate.Why CSS transitions skip an element's first render, and how the @starting-style at-rule fixes it — syntax, the cascade, and fade, slide, and scale-in examples.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.