This is what I already have:
.coloring(@color){
color:@color;
}
But this is what I actually wanted to do:
.coloring(@color, @important:''){
color:@color @important;
//etc
}
So I could call:
.coloring(@color, !important);
But I get the error message "ParseError: Unrecognised input"
Is there a way to tell this mixin optoinally to use "!important" for the CSS statements?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…