Adding !important using a Compass Mixin

前端 未结 6 1764
孤城傲影
孤城傲影 2020-12-29 18:07

If I\'m using compass for CSS and use a function or mixin like:

   @include background-image(linear-gradient(#a3cce0, #fff)); 

is there any

6条回答
  •  有刺的猬
    2020-12-29 18:29

    I had this problem last time and I overrided the compass style with a stronger selector. I just added an ID on my html element

    span { @include border-radius(5px);}
    
    span#no-radius { @include border-radius(0px); } // override
    

提交回复
热议问题