Answer the question
In order to leave comments, you need to log in
Is it possible to place class selectors inside the class selector of the parent?
I write styles in SCSS. There is, for example, a .catalogue__materials-sorter material sorter with .catalogue__materials-sorter__option buttons inside it (in HTML). I write:
.catalogue__materials-sorter {
//...
.catalogue__materials-sorter__option {
//...
}
}
Answer the question
In order to leave comments, you need to log in
You can write &__option
, and you will like it and the styles will be right
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question