I was wondering if there's a way to access SVG via CSS when using them like:
.logo {
...
background-image: url("../VectorImages/logo.svg");
}
I found a few scripts helping to convert svgs to inline SVG, which make them accessible for CSS. Tried it and it's working for img-Tags, but none of these solutions are working when using SVG as a div's background-image.
I'm trying to change the color of the SVG, so what I want to do is
svg path { fill: #000; }