Can I nest div liek this in scss

.RIGHT3DOTS .RIGHT4DOTS .RightBig4Dots .LEFT3DOTS .LEFT4DOTS .LEFTBig3Dots {
opacity: .5;
}
.RIGHT3DOTS .RIGHT4DOTS .RightBig4Dots .LEFT3DOTS .LEFT4DOTS .LEFTBig3Dots {
opacity: .5;
}
1 Reply
MarkBoots
MarkBoots10mo ago
- if these are all separate divs you want to target, you can use a comma , - or if they all have the same parent class and are the only elements within that .parent > div - or create a utility class that you add to all those divs in the html. it depends a bit on the html structure what is easier off topic tip: keep your casing consistent.
Want results from more Discord servers?
Add your server