Is it possible to set a background-image
for an SVG <path>
element?
For instance, if I set the element class="wall"
, the CSS style .wall {fill: red;}
works, but .wall{background-image: url(wall.jpg)}
does not, neither .wall {background-color: red;}
.