开发者

SVG gradient backgrounds doesn't work

I got a problem wit开发者_开发技巧h SVG backgrounds.

When I run my website locally on IE9 the svg-gradient shows. But when I upload my site the my webhost the gradients just don't work.

How do I fix this?


Solved it.

I added a .htaccess file in the same folder as my .svg files with the following content:

AddType image/svg+xml svg
AddType image/svg+xml svgz
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜