Does SASS support adding !important to all properties in a mixin?

后端 未结 3 1444
星月不相逢
星月不相逢 2021-01-07 19:21

I am currently using the compass framework and all it\'s helpful CSS3 mixins. I would like to use the border-radius(5px) mixin and have all properties that come

3条回答
  •  别那么骄傲
    2021-01-07 20:12

    The answer is almost too obvious...

    !important can simply be specified as part of the property value

    border-radius(5px !important);
    

提交回复
热议问题