Inline SVG in CSS

Is it possible to use an inline SVG definition in CSS?

I mean something like:

.my-class {
  background-image: <svg>...</svg>;
}

11 Answers
11

Leave a Comment