Svg icons not displayed in Mozilla Firefox?

//Svg icons not displayed in Mozilla Firefox?

svg icon using use tag and viewbox attribute

Hi guys! Recently I encountered on problem where I worked with svg icons with use tag. I was surprised when I found that icons are not displayed in Firefox. After googling I still did not find a solution so I´ve tested it a little by myself. What I found out is that you must use viewbox attribute in  html of your svg tag. Then Firefox will render it correctly. I hope this helped you.

2018-08-12T12:48:30+00:00 12/ 08/ 2018|Blog|