SVG symbols not being displayed in Firefox

后端 未结 2 923
情歌与酒
情歌与酒 2021-01-06 04:30

I\'m currently using SVG symbols to display icons. This works in IE, Chrome, and Safari but the icons don\'t show up in Firefox. There are lots of similar questions on Stack

相关标签:
2条回答
  • 2021-01-06 05:24

    on your jsfiddle, just remove on css part the block :

     </style>
        <base href="/">
        <style>
    

    and your svg will show on firefox

    0 讨论(0)
  • 2021-01-06 05:26

    The problem is:

    <base href="/">
    

    Remove that will work in the Firefox.

    0 讨论(0)
提交回复
热议问题