Effects, Transitions and Animation
Transitions, 2D and 3D transforms, keyframe animations, filters, blend modes and masks, smooth and accessible motion, and scroll effects.
Until now every style you wrote changed instantly: a button turned blue the moment you hovered it. This phase adds time and visual effects. You'll learn transitions, which smooth a change from one value to another, transforms, which move, turn, grow and tilt a box without disturbing the layout around it, and keyframe animations, which play a whole sequence of steps on their own, as many times as you like.
Then you'll meet the effects that change how pixels are drawn: filters (blur, grayscale, shadows that follow a shape), blend modes (how colours mix with what's underneath), and clipping and masking (showing only part of a box). Each one has a cost, so the next topic explains what the browser really does each frame: which properties only need the compositor and stay smooth even on a cheap phone, what will-change really does, and how to respect people who ask for reduced motion.
The phase ends with scroll effects: snapping carousels with scroll-snap, sticky headers, and the new scroll-driven animations that tie an animation to the scrollbar with no JavaScript. Every example is live, and the ones that log print facts that don't depend on timing: event names, final computed values and measured positions. Phase 6 (positioning and stacking contexts) and Phase 3 (colours and custom properties) are the background you need; the /javascript course shows how scripts can drive the same animations.
Practise this phase
Hands-on exercises: write the code, see your page live, and press Check to have it tested automatically.