Simple script to replace your bitmap icons with inline SVGs with bitmap fallback built in. Inline SVGs reduce your image requests to zero and are able to be styled with CSS. Check out the source code.
Include modernizr and svg-please.js in your project.
Add your bitmap icon images as you normally would with <img>
tags. Use the class svg-please
for any icons you intend to replace with inline SVG icons.
<img class="svg-please" src="img/icons/plus.png" alt="Plus">
Crafted by @chrisnager · View on GitHub or CodePen