Passer au contenu principal
Bluvy Tube
Appuyez sur Échap pour quitter le plein écran
Volume m
/
i
Mode Cinéma t
f
/
The CSS progress() function is now in all major engines! Here's how it works:

Raccourcis clavier

Espace K
Lecture / pause
← →
Reculer / avancer de 5 s
J L
Reculer / avancer de 10 s
0–9
Aller à 0 %–90 % de la vidéo
Home End
Début / fin
, .
Image précédente / suivante (en pause)
< >
Ralentir / accélérer
↑ ↓
Volume
M
Couper / rétablir le son
C
Sous-titres
F
Plein écran
I
Image dans l’image
T
Mode cinéma
?
Afficher cette aide

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

0 vue Publié le 08/09/2026 13:15 1:40
The CSS progress() function is now in all major engines! Here's how it works:
5 commentaires
?
@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
Jakob E @jakob-e.bsky.social · 08/09/2026 21:21
Great news 🤩

For anyone interested in how to use progress in fluid typography @matthewmorete.com made an excellent post about it here 👇

blog.master.dev/fluid-typogr...
Fluid Typography with progress()
With the `progress()` function in CSS we've got a new way to calculate the size for type based on the viewport without problems of the past.
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
Voir le post d'origine sur Bluesky
Lien copié dans le presse-papier

Connexion

Il est temps de faire une pause

Ça fait 30 minutes que vous enchaînez les vidéos : accordez-vous 5 minutes loin de l'écran. Levez-vous, étirez-vous, buvez un verre d'eau… Les vidéos vous attendront ici.