Code: Select all
.my-class {
& > a {
color: yellow;
}
}
Code: Select all
.my-class {
> a {
color: yellow;
}
}
Aber das zweite Beispiel funktioniert auch ganz gut, außerdem macht es viel mehr Sinn, weil es sauberer ist, wie wir es von SASS gewohnt sind