Answers for "import svg not loading"

1

img svg not loading

<!-- add the xlmns attribute to the svg element -->
<svg viewBox="0 0 24 24"><path d="..."/></svg>

<!-- after -->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="..."/></svg>
Posted by: Guest on December-02-2020

Browse Popular Code Answers by Language