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

06Vertical volume bar — writing-mode rotation and flipping the fill direction

Standing the track up with writing-mode: vertical-lr or a 90deg rotation anchors the fill at the top, so the ratio must flip to (100% - var(--pct)) to fill bottom-up like a volume bar. It also covers the trap that arrow-key direction differs per browser once rotated.

Best forVideo players, music apps

writing-modetransform: rotateCSS custom properties
Vertical volume bar — writing-mode rotation and flipping the fill direction
Open in a new tab

06 Vertical volume bar — writing-mode rotation and flipping the fill direction — Measured area 2.646% · moving frames 20/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