前端开发人员和设计师一般使用 CSS 来创建HTML元素动画。然而，由于HTML在创建图案，形状，和其他方面的局限性，它们自然的转向了SVG，它提供了更多更有趣的能力。借助SVG，我们有更多的方式来创建新的动画。您可以同时使用内置的SVG动画功能和CSS3动画。
Made only with CSS, a border forms smoothly around the text, when you hover over the “HOVER” instruction.
The sidebar becomes elastic when you try to pull it away from the side. A nice concept applied on a Material Design-inspired application sidebar.
Most pages allow you to “pull down” on the page to refresh. With this animation, when you “release” the page, the Send icon changes into a Plane icon and gets released into the air.
Here’s a subtle but not easy to miss moving text gradient that typography lovers will love.
This animation shows you how a heart icon is made from two circles and a square. The transformation is done with CSS animation.
An animation that illustrate cities and popular tourist destinations in the world. The moves and transformations are created using CSS animation.
A morphing animation of the hamburger icon turning into a cross icon. See how smooth the transition is between the two objects.
An awesome animation by Sarah Drasner, powered by GSAP timeline. It is an infographic come to life, made with animation. Use the slider to access the frames from any point.
A unique and funny loop animation depicting the characters’ walk. The movement of the objects in this demo is a combination of SVG and CSS3 animation. The legs use SVG animation while other parts use CSS3 animation.
Watch the smooth movement of the second-hand in this clock showing the current time. The animation is completely made using the SVG animation functionality.
An astronaut shooting into space with it’s rainbow-powered jet pack(?). Nice animation made using the GSAP Tweenmax plugin.
However over these animated SVG icons to check out what they can do. The creator made this using GSAP.
The animation illustrates a workspace in flat style design. The creator used GSAP to make this awesome animation of a workstation forming.
This is a cool animation makes use of the snap.svg library. Click to see mail being “sent”.