CSS Variable Slider Lab

Demos 1 to 8 all use the same trick. A range slider's thumb gets a view-timeline, a registered @property is tied to it, and dragging the slider scrubs that value live. They need a Chromium browser. Demos 9 to 11 use :has(), @keyframes and contrast-color() instead, and need a very recent browser (Chrome 147+, Firefox 146+, Safari 26+). There's no JavaScript in any of them, and a note on the source article is in docs/.

01 Typography Scale One slider sets font size, line height and letter spacing together. 02 Color Channel Mixer A color picker made from three sliders, one each for red, green and blue. 03 Duotone Filter Slider A slider runs grayscale, sepia, hue-rotate and saturate together over a "photo" made from CSS gradients. 04 Blob Morph All eight border-radius values move on their own, turning a squircle into a lopsided blob. 05 Tilt Card Two sliders tilt a 3D card and move its highlight to match. 06 Gradient Angle Dial A slider turns a color wheel and its pointer together, like a dial. 07 Equalizer Bars Six sliders driving six bars, each on its own view timeline. 08 Theme Blend A slider fades a small UI from dark to light with color-mix(), without swapping any classes. 09 Contrast Color Picker Pick a swatch and contrast-color() chooses black or white text for it. The swatches are radio buttons read with :has(). 10 Brand Palette Pick one color and get six swatches from it, each with readable text worked out by contrast-color(). 11 Color-Shift Progress Bar A progress bar fades from red to green, and its percentage stays readable the whole way thanks to contrast-color().