A step-by-step HTML and CSS tutorial on building a loading dot animation with keyframes, position and colour changes, nth-child selectors and a cubic bezier pop effect. It suits designers who want to prototype interface motion in code.
What you’ll learn
✓Build a looping loading-dot animation using only HTML and CSS
✓Animate an element's position and colour with keyframes
✓Use nth-child selectors and cubic bezier easing to vary motion across elements