Is there a way to access SVG using CSS when using them like this?
.logo {
...
background-image: url("../VectorImages/logo.svg");
}
I came across some scripts that claim to convert svgs to inline SVG, making them accessible for CSS. I tried it and it works for img-Tags, but not when using SVG as a div's background-image.
My goal is to change the color of the SVG, so what I want to achieve is
svg path { fill: #000; }