Answer the question
In order to leave comments, you need to log in
Do I understand correctly that the BEM methodology is incompatible with the idea of SASS?
Actually a subject.
SASS is nested, while BEM is flat.
BEM doesn't recommend combining selectors in CSS.
What can you say about this?
Answer the question
In order to leave comments, you need to log in
Very Compatible:
.block {
&__element {
&--modifier {
color: black;
}
}
}
.block__element--modifier {
color: black;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question