GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

08Color-temperature track — interpolating hue and saturation from the value ratio

Pass the value ratio through a color interpolation (convert to HSL, lerp hue and saturation only) and repaint the track background and thumb each frame — a temperature slider that stains from cool blue to warm orange. One CSS variable carries the value-to-color map so every item shares the palette.

Best forLighting and display settings

linear-gradientCSS custom propertiespointermove
Color-temperature track — interpolating hue and saturation from the value ratio
Open in a new tab

08 Color-temperature track — interpolating hue and saturation from the value ratio — Measured area 5.576% · moving frames 21/23Original by GODRICH · SCSS and React ship in the zip · CSS Range Slider: 9 Physics-Grade Custom Sliders

The post this demo lives in

CSS Range Slider: 9 Physics-Grade Custom Sliders - preview of all 9 demosCSS Range Slider: 9 Physics-Grade Custom SlidersA css range slider, explained: A velocity lerp decays your drag to rest, and a spring overshoots the thumb on each value See all demos in this post

If you like this effect - similar demos