Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
css: svg to png
.icon {
background: transparent url("../img/icon.svg") no-repeat left top;
}
/* Depends on Modernizr */
.no-inlinesvg .icon {
background-image: url("../img/icon.png");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment