Skip to main content
Bluvy Tube
Press Esc to exit fullscreen
Volume m
/
i
Theater mode t
f
/
The CSS progress() function is now in all major engines! Here's how it works:

Keyboard shortcuts

Space K
Play / pause
← →
Back / forward 5 s
J L
Back / forward 10 s
0–9
Jump to 0%–90% of the video
Home End
Start / end
, .
Previous / next frame (while paused)
< >
Slower / faster
↑ ↓
Volume
M
Mute / unmute
C
Captions
F
Fullscreen
I
Picture-in-picture
T
Theater mode
?
Show this help

The CSS progress() function is now in all major engines! Here's how it works:

0 views Published on 08/09/2026 13:15 1:40
The CSS progress() function is now in all major engines! Here's how it works:
5 comments
?
@sailorpsy.bsky.social · 08/09/2026 22:35
Typed arithmetic (caniuse.com/mdn-css_type...) alternative to dev.to/janeori/css-... with progress(). 😍

As long as you choose a sufficiently large maximum:
--100vw: calc(10000 * progress(100vw, 0px, 10000px));

Or with no-clamp:
--100vw: progress(no-clamp 100vw, 0px, 1px);
types: `calc()`: Divisions between typed values produce unitless number ("typed arithmetic") | Can I use... Support tables for HTML5, CSS3, etc
claas @claas.dev · 08/09/2026 15:57
Oh the mentioned fluid typography depending on the page size would be perfect for presentation/slides apps that only care about font sizes relative to slide and ignore user font settings
so that's just inverse lerp?
Pretty much! There's also a proposal for lerp drafts.csswg.org/css-values-5...
CSS Values and Units Module Level 5
View original post on Bluesky
Link copied to clipboard

Sign in

Time to take a break

You've been watching videos for 30 minutes straight: give yourself 5 minutes away from the screen. Stand up, stretch, grab a glass of water… Your videos will be right here when you're back.