Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
yes, you can. The point is that the block is independent and wherever you put it, it should behave according to its tasks and styles written specifically for it. If the behavior of the block needs to be changed depending on the parent, then the approach called "changing the block by the context" is suitable for you, and here is a link to the official BEM documentation on this matter.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question