svg animation using css

Show off your finished Inkscape work.
hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

svg animation using css

Postby hulf2012 » Tue Mar 22, 2016 11:13 am

Hello

Experimenting with animations in SVG and CSS

SVG Image

If someone is interested about the "guts" of this animation, you can also visit:

codepen

Greetings
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: svg animation using css

Postby Espermaschine » Tue Mar 22, 2016 11:50 am

Cool !

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: svg animation using css

Postby brynn » Tue Mar 22, 2016 12:12 pm

Did I read somewhere that SVG/CSS animation won't work in Firefox? Because I don't see any animation.

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: svg animation using css

Postby hulf2012 » Wed Mar 23, 2016 2:06 am

brynn wrote:Did I read somewhere that SVG/CSS animation won't work in Firefox? Because I don't see any animation.


Hello Brynn... You are right, in Firefox (which I used when making the post), the animation appears static. But If you go the the CODEPEN link bellow, you should see the animation, if your web browser is Firefox or Chrome.

What I know is that SVG/CSS animations doesn't work with "Micro Soft" web browsers. :(

More: The animation can be seen in the post if your web browser is Chrome. :o . Now, who is responsible for this: the web browser, the phpBB-InkscapeForum, the Dropbox web server??... If someone have even a suspect, or clue, it will be interesting to know.
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: svg animation using css

Postby brynn » Wed Mar 23, 2016 10:27 am

I was thinking of this page: http://tavmjong.free.fr/SVG/ANIMATION/

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: svg animation using css

Postby hulf2012 » Thu Mar 24, 2016 12:37 am

Thanks for your info Brynn

The Tav's article (sorry for the simplification of the name)... is from 2013. Checking it on Chrome and Firefox, I see different results between them. In chrome the animations are best viewed.

- For what I've investigated and experimented myself, MS Edge, MS IE CAN'T show CSS/SVG animations. Firefox CAN show CSS/SVG animations. However I think it may be true to say that Chrome can show and manipulate better and more features related to CSS animations.

- About testing: I'm on Ubuntu Linux. I can use Firefox and Chrome. I haven't tried Opera. I have other PC, which it's not mine, where I can test with Edge or IE11. I can't test with Safari, but I guess it's not so different than Chrome. I haven't tried other devices (iphone, android phones).

Greetings
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: svg animation using css

Postby brynn » Thu Mar 24, 2016 4:23 am

Yes, the article is a bit dated. Things certainly could have changed since then. And I haven't investigated whether your image uses the same code as in the article. So your results about which browsers work and which don't, may be more related to the specific code you used, rather than browsers changing their support (in the last 3 years).


Return to “Finished Inkscape Work”