News for hackers. Stuff that matters.
Re:CSS animated loading indicators by nvdk on Tuesday December 17, 2013 @05:55AM (#6920467)
I believe all of them actually use more bandwidth then a gif, so why use this exactly?
Re:CSS animated loading indicators by nness on Tuesday December 17, 2013 @06:00AM (#6920488)
I 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.)

Re:CSS animated loading indicators by sambeau on Tuesday December 17, 2013 @06:05AM (#6920504)
CSS will normally also get zipped: you are comparing compressed gif to uncompressed css
Re:CSS animated loading indicators by sergiosgc on Tuesday December 17, 2013 @06:00AM (#6920489)
Alpha channel support. Transparency in gifs is boolean, not a linear scale.
Re:CSS animated loading indicators by wreegab on Tuesday December 17, 2013 @09:39AM (#6921292)
And easy to rescale, recolor, etc.