.SVG Browser Support

前端 未结 9 1175
臣服心动
臣服心动 2020-12-01 01:35

I\'m working on a responsive design and I\'m thinking of creating navigation icons as .svg files. What is current browser support like and is there a workaround/plugin for o

9条回答
  •  醉酒成梦
    2020-12-01 02:04

    Worth noting, if you do need <=IE8 support, you can implement GoogleChromeFrame easily enough to get the SVG support you're looking for...

    Though you might find that each browser has their own little quirks with respect to the features of the spec. I have had issues with dynamically created nodes that use filters and animateMotion has been a bugged in Google Chrome for way too long...(we use FF5+ as our interactive interfaces for this reason, Safari is getting better too)

    IMO, unless the whole application is SVG, I would just use PNGs for your icons, unless you want them to scale nicely! :)

    ...but if you just want to play with SVG, Giv'er! ;)

提交回复
热议问题