Closed
Description
It's not possible to override @variables with a 'when' statement, like this for example :
@a: false;
@b: 1px;
& when (@a = false) {
@b: 2px;
}
But it is possible it like this:
```less
@a: false;
@b: 1px;
& when (@a = false) {
#c {
width: 2px;
};
}
I tried all kinds of solutions:
http://stackoverflow.com/questions/31378687/less-when-statement-without-classname
Is this a bug?
Metadata
Metadata
Assignees
Labels
No labels