前端开发人员和设计师一般使用 CSS 来创建HTML元素动画。然而，由于HTML在创建图案，形状，和其他方面的局限性，它们自然的转向了SVG，它提供了更多更有趣的能力。借助SVG，我们有更多的方式来创建新的动画。您可以同时使用内置的SVG动画功能和CSS3动画。
Have you ever skipped stones on the surface of a lake? Here’s a simple SVG path animation illustrating that but with no stones, and no lake.
Besides using SVG to make path animation sketching a shape, you can use it on typography like what this creator made. The blur effect makes it more awesome.
Have fun with the gooey effect in this design, which is made using SVG filter and by adding CSS animation. The result is realistic and really cool, and you can play with four different versions.
How to make a layered birthday cake made with SVG and CSS animation.
Just see this awesome animation of a simple thank-you note. It is created using SVG and GSAP TweenMax library.
Now let’s look the comparison about CSS and SVG animation, do you see the difference?
Another way to animate SVG is by using sprites images, like how this creator did.
A creative work made using pure SVG animation (SMIL); no CSS or JS to animate things here.
Here’s a nice animated logo intro using inline SVG animation. No CSS or JS was used to make everything work.
A beautiful stats graph with SVG animation powered by Snap.SVG library.
Here are seven creative uses of SVG filter to make a gooey-like effect. The music visualizer is my favorite, the animation looks very nice.
This one is an SVG animation powered by TweenMax but made just for fun. Hold and drag the cow around the planet. It will spin in “orbit”.
Animated Logo by Ali
Animation could be a nice little addition for a bubbling beer logo. The nice little floating bubbles are built purely with SVG native animation syntax.