title: Is there a way to fill image within SVG using CSS?
body: <p>Just like how CSS styles like fill, stroke being set via CSS, is there a way to set image (background-image) to an SVG element using CSS alone?
  Some existing solutions have <code>&lt;image&gt;</code> tag within the <code>&lt;svg&gt;</code> element, but I don't want to have that since I'm using a third-party library that generates the SVG, so CSS seems to be a good alternative.</p>
  
  <p>Update:
  I would like to add a <code>background</code> to a specific <code>svg</code> element, not the whole SVG. Didn't realize that it wasn't mentioned in the actual question earlier.</p>