Right this way…
Station 07 · Transitions & easing
When you raised the curtain in our theater, you watched two lines of CSS do all the work. A transition is a contract with the browser: when this value changes, do not jump — travel. You choose how long the trip takes and the shape of the journey.
This is the actual curtain rig, wired to your hands. Set the clock, pick the easing, run it. The code under the controls is live — what you see is exactly what ships.
1.curtain {2transition: transform 700ms3cubic-bezier(0.65, 0, 0.35, 1);4}56.open .curtain.left { transform: translateX(-103%); }7.open .curtain.right { transform: translateX(103%); }
Try Overshoot at 400ms, then House glide at 700ms — same two lines of CSS, completely different personality. We animate transform because the browser can slide it on the graphics card without repainting the page; animating left would stutter.