When working with LESS-CSS, you can achieve the same result with the following code:
.a {
.b {
font-color:red;
}
}
or you can use the nested selector directly like this:
.a .b {
font-color:red;
}
But is there a way to target only direct children with a nested equivalent of >
?
.a > .b {
font-color:red;
}