jkphl / iconizr

A PHP command line tool for converting SVG images to a set of CSS icons (SVG & PNG, single icons and / or CSS sprites) with support for image optimization and Sass output. Created by Joschi Kuphal (@jkphl), licensed under the terms of the MIT license
http://iconizr.com
MIT License
485 stars 36 forks source link

Add a `common` option #18

Open jkphl opened 10 years ago

jkphl commented 10 years ago

As in svg-sprite, there should be a common option that allows for creating an additional, commonly used CSS class which declares the background-image and background-repeat properties for all single images. Depending on the number of images, this may save a lot of CSS code.