Chrome not rendering SVG referenced via element

A simple and easy way; according to
https://css-tricks.com/forums/topic/svg-css-background-image-not-showing-in-chrome/
You have to open the .SVG file with a text editor (like notepad) and change

xlink:href="https://stackoverflow.com/questions/10737166/data:img/png;base64,

to:

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

it worked for me!

Leave a Comment