Answers for "svg is not showing in chrome"

1

svg icon not showing html

<div class="social-icon">
<object data="assets/twitter-wrap.svg" type="image/svg+xml"></object>
</div>
Posted by: Guest on March-30-2020
1

svg img tag not showing

in the svg file change

xlink:href="data:img/png;base64,

to

xlink:href="data:image/png;base64,
Posted by: Guest on August-06-2020
0

svg not rendering in chrome anymore

<object data="/images/yourlogo.svg" type="image/svg+xml" width="100" height="100" class="mylogo"></object>
Posted by: Guest on December-18-2020
0

svg not loading in chrome

Open the svg file in text editor like notepad and Change the following:

xlink:href="data:img/png;base64,

to 

xlink:href="data:image/png;base64,

source:
https://css-tricks.com/forums/topic/svg-css-background-image-not-showing-in-chrome/
Posted by: Guest on September-12-2021

Browse Popular Code Answers by Language