Vue normale

Reçu aujourd’hui — 24 février 2026 Partage de liens et d'humeurs / from Éric

Sprites on the Web • Josh W. Comeau

Encore un excellent article sur l'usage du CSS pour utiliser des images façon sprites.

In game development, it’s common to use spritesheets for animation, but this technique isn’t as widely used on the web. Which is a shame, because we can do some pretty cool stuff with sprites! In this post, we’ll share the niche CSS function you can use to leverage this technique, and explore some of the potential use cases.


Permalien
❌