I am getting a listing of svg files for side menu handling, I am rendering them using object
.
<object data="http://..." type="image/svg+xml"></object>
My problem is that I can't change the fill from my filecss
path {
fill: red !important;
}
Does anyone know how I can do this?
The correct way to do it is using filter as @enxaneta has mentioned in his comment.
Codepen example