Mobile app version of vmapp.org
Login or Join

Login to follow query

More posts by @Samaraweera270

2 Comments

Sorted by latest first Latest Oldest Best

 

@Vandalay111

If the prospective clients of your website/application will have a low bandwidth connections, you should consider gif over CSS animation.
You can have control over the gif from your side and can even alter the output from that single file if you require without multiple file alterations (on the CSS file and the image files).

10% popularity Vote Up Vote Down


 

@Murphy175

What's better, apples or oranges?

An animated .gif gives the author extensive control (frame rate, length, color profile etc.) but will often have a rather bloated filesize (for an image).

CSS animations tend to be more succinct in terms of data transfer, but require more processing by the browser (and are subject to inconsistencies between browsers/rending engines) and may not work on old browsers.

Do you think that CPU/GPU is more precious to your users than bandwidth?

How important is pixel perfect rendering?

Balancing these factors, or even better testing the performance of each, is the only way to know which is better for your specific needs.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme