gobwas / gulp-sprite-generator

Plugin that generate sprites from your stylesheets.
42 stars 16 forks source link

!important in CSS template #4

Closed ozio closed 9 years ago

ozio commented 10 years ago

Thanks for the great plugin, but !important in CSS isn't look a good practice. Perhaps a good solution would be to allow the user to specify custom template? Or just remove !important from code.)

gobwas commented 10 years ago

Hi! Thanks for feedback. Does !imortant breaks some style in your project? This is a bad practice in developing css styles, I agree. But using it in sprite generation process (aka compilation) looks pretty nice, cause it is the 100% final value of attribute, where it used.

Or I do not understand something?