Differences and similarities between SVG and CSS3 animations?

后端 未结 2 575
有刺的猬
有刺的猬 2020-12-28 10:25

Sencha Animator is using CSS3 animations exclusively.

RaphaelJS is using SVG animations.

I wonder what are the similarities and differences between SVG and C

2条回答
  •  清酒与你
    2020-12-28 11:21

    They are completely different.

    SVG is a vector image format. It is used to create infinite-resolution images using paths and basic shapes:

    enter image description here


    CSS3 animations, however, are just web browsers smoothly interpolating CSS properties like color, padding, font-size, etc. As you can see, the scope of CSS3's animations is very limited.

提交回复
热议问题