6 ms·
I believe all of them actually use more bandwidth then a gif, so why use this exactly?
by nvdk 13y ago
I believe all of them actually use more bandwidth then a gif, so why use this exactly?
- nness 13y agoI think you're mistaken. The first example is only ~700 bytes in size. Show me an animated GIF, with those dimensions, that many frames (to maintain that level of smoothness), for under 700 bytes? (HTTP overheads are not factored since HTML + CSS is one less request than HTML + CSS + Image resource.)
- sergiosgc 13y agoAlpha channel support. Transparency in gifs is boolean, not a linear scale.
- wreegab 13y agoAnd easy to rescale, recolor, etc.
- sambeau 13y agoCSS will normally also get zipped: you are comparing compressed gif to uncompressed css