grunt-svg-icon-font-png-fallback
v1.0.3
Published
a combination task of a few other tasks that generate and icon font from provided svgs and also generate the css assotiacted with them. Also provides an option for png fallbacks if @fontface is not supported.
Downloads
14
Maintainers
Readme
feature detection is required by default for applying either a fontface class or a legacy class to the html element. This way, if @fontface is available, the icon elements will use the generated icon font, otherwise if @fontface in not supported, the png background images will be used with thier default color values and sizes. For more complex png fallbacks you will need to define multiple namespaces for a given icon.