SVG-Loaders icon indicating copy to clipboard operation
SVG-Loaders copied to clipboard

SVG's SMIL animations are deprecated.

Open Tenkir opened this issue 10 years ago • 8 comments

SMIL is deprecated and should be replaced with CSS animation.

Tenkir avatar Oct 30 '15 15:10 Tenkir

I have plans to transition to CSS animations, however my free time is little. May be a bit. Any help is appreciated.

SamHerbert avatar Oct 30 '15 17:10 SamHerbert

Is there any way to use the CSS animations when the SVG is used by IMG tag oder css background-image?

Currently i use one SVG-Loader here: https://my-azur.de/blog/usa-urlaub-2015-florida-roadtrip-richtung-naples-mit-vielen-stopps/ as a background image.

sinky avatar Nov 25 '15 07:11 sinky

@sinky http://stackoverflow.com/questions/12583879/linking-to-css-in-an-svg-embedded-by-an-img-tag

wing-kai avatar Nov 25 '15 09:11 wing-kai

Huge fan of this library @SamHerbert!

I made sure sure I appended credit to you, but for everyone else; I decided to take a stab at recreating these using GSAP. You can view the demo at http://codepen.io/zslabs/full/YwygoQ/

Still a little off on some, but am happy with the direction these are going. Any contributions are welcome!

zslabs avatar Dec 16 '15 14:12 zslabs

@SamHerbert from your note "NOTE: Chrome 45 has deprecated the use of SMIL animations" does this means if I use the actual loaders they won't work on Chrome ? have you fixed the issue ?

scratchoo avatar Mar 16 '17 14:03 scratchoo

@medBouzid It looks like the Chrome team has currently suspended the deprecation.

They are safe to use in Chrome, for now. I have been converting the icons to CSS in the next branch. However, those are not fully tested and many icons break in FireFox. You may use them at your own risk. I'd still use the SMIl icons for the time being.

SamHerbert avatar Mar 16 '17 17:03 SamHerbert

@medBouzid Is it safe to use your svg-css-loaders cross browsers.

the94air avatar Jun 03 '17 10:06 the94air

Came across this repo again and was actually surprised that I left a reply here years ago! 🤣

the94air avatar Aug 27 '22 12:08 the94air