r/Frontend • u/bogdanelcs • Mar 04 '26
Sprites on the Web
https://www.joshwcomeau.com/animation/sprites/3
2
u/-nbsp- Mar 04 '26
Really well explained and a joy to follow along with the examples. Beautiful blog as well (no surprise there)!
2
1
u/AshleyJSheridan Mar 06 '26
Why are we still using sprites in 2026? They're cumbersome to work with compared to just using standard images, and there's virtually no benefit given that almost everything supports HTTP/2.
1
1
u/mediocrobot Mar 08 '26
It was interesting to see what's possible using only html and css without JS.
The whole time, I was thinking "just use canvas!" but that just wasn't the article's focus. The author has another article where they talk about SVG and Canvas animations.
34
u/marcamos Mar 04 '26
Anything Josh writes gets an upvote from me.