A small function in response to Taylor Hunt's blog post "Optimizing svgs in data uris"* allowing you to skip base64 encoding and simply paste the SVG markup right in the CSS.
Forked from jakob-e's Pen Encode SVG SCSS.
A Pen by Max Dolgov on CodePen.