nex3/sass — Issue #312: !important Mixins
Author: Anahkiasen
Created: 2012-03-09 09:59:47+00:00
State: open

Is there a way in SASS to do something like in LESS where you can mark a whole mixin as important ?
Like this per example :

@include opacity(1) !important;

Which would result in :

filter: progid :DXImageTransform.Microsoft.Alpha(Opacity=50) !important;
opacity: 0.5 !important;

If not it's really a feature that I think should be in there. Sometimes you have to overwrite box-shadow, text-shadow, opacity etc. you can't really control, and !important really comes in handy in these cases.