Reputation: 230226
In LESS-CSS, this:
.a { .b { font-color:red; } }
is equivalent to
.a .b { font-color:red; }
Is there an nested equivalent of > ?
>
.a > .b { font-color:red; }
Upvotes: 11
Views: 4065
Reputation: 228232
This does it:
.a { > .b { font-color:red; } }
Upvotes: 14