Chrome not rendering SVG referenced via element

A simple and easy way; according to

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