Passer au contenu principal
Bluvy Tube
Appuyez sur Échap pour quitter le plein écran
Volume m
/
i
Mode Cinéma t
f
/
CSS masks allow for smooth animations without JavaScript. You can create rich reveal effects with pure CSS. Here is how mask animations work. #CSS #WebDev #Frontend 1/5

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

CSS masks allow for smooth animations without JavaScript. You can create rich reveal effects with pure CSS. Here is how mask animations work. #CSS #WebDev #Frontend 1/5

0 vue Publié le 02/09/2026 08:02
#webdev #css #frontend
CSS masks allow for smooth animations without JavaScript. You can create rich reveal effects with pure CSS. Here is how mask animations work. #CSS #WebDev #Frontend 1/5
1 commentaire
?
You can control the effect with three main CSS properties.

1. mask-image: Sets the mask texture or sprite.
2. mask-size: Defines the total dimensions of the mask.
3. mask-position: Moves the mask across the element.

2/5
Use an image sprite with transparency for step-by-step animations.

1. Set the number of steps with animation-timing-function.
2. Scale your sprite with mask-size.
3. Move the sprite with @keyframes on mask-position.

3/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.