Page 1 Of 1 , 1 Links


Animating SVG with CSS | CSS-Tricks

گروه وی2 , Jul 4, 2014 - Animating SVG with CSS | CSS-Tricks

There isn't just one way to animate SVG. There is the <animate> tag that goes right into the SVG code. There are libraries that help with it like Snap.svg or SVG.js. We're going to look at another way: using inline SVG (SVG code right inside HTML) and animating the parts right through CSS.

I played with this personally recently as my Alma mater Wufoo was looking to freshen up the advertising graphic we're running here. My latest design around here uses SVG quite a bit and I thought this would be another perfect opportunity to use it some more... .

http://codepen.io/chriscoyier/pen/dvjhn/

ساخت تصویر متحرک با CSS و SVG.