Pavliko / postcss-svg

PostCSS plug-in which to insert inline SVG to CSS and allows you to manage it colors.
http://pavliko.github.io/postcss-svg/
Creative Commons Zero v1.0 Universal
124 stars 23 forks source link

Mutiple svg background-images are not converted #19

Closed MrBemd closed 9 years ago

MrBemd commented 9 years ago

If I want to use multiple svg background-images only the first svg is converted to valid output. The other stays untouched.

For example:

.background-with-overlay {
     background-image: svg("first-background"), svg("second-background");
}

results in:

.background-with-overlay {
     background-image: url("data:image/svg+xml, <valid converted svg>, svg("second-background"));
}

This is not perceived as a valid property in the browser, therefore the background image is not working.