© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
cedric simon
Web dev
The part:
.parent { background: red; &__child1 { background: red; } &__child2 { background: red; } }
seems wrong, the child colors should be green and purple no?
green
purple
Alkshendra Maurya
Frontend Engineer | Hashnode Alumnus
Thanks for identifying this @Simonced. Yeah, the colors should be green and purple.
Fixed now. 🙂