Designing and Implementing Effective Microinteractions
Focus on small, subtle animations and feedback loops that enhance user experience, usability, and delight in a web application.
Content tagged microinteractions
Snippet:SVG Marching Ants Border for Drop Zones and Selections
Animate a marching dashed SVG border around any box.Build a marching ants border with an SVG rect and stroke-dashoffset: a seamless loop, a crisp overlay for any box size, and reduced-motion support.Snippet:SVG Three-Dot Loading Indicator with Staggered Delays
Build a three-dot SVG loader with staggered delays.Build an accessible three-dot SVG loading indicator: three circles, one keyframes rule and negative animation-delay values, with reduced-motion support.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: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.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.