Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Swapping Out SVG Icons – Problems with Mobile Safari Reply To: Swapping Out SVG Icons – Problems with Mobile Safari

#192242
Chris Coyier
Keymaster

Can you try

<svg width="0" height="0">

instead of display: none;?

That’s what I’ve been doing recently instead of inline styles to hide it, just because I’ve also found it buggy.