-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Milestone
Description
I'd like to use guards on concrete CSS like this:
.rule when (@width < 400px) {
color: red;
}
When @width variable is greater then 400px, the .rule would be hidden in generated CSS. Nowadays I need to do something like:
.rule (@w) when (@w < 400px) {
color: red;
}
.rule {
.rule(@width);
}