Answer the question
In order to leave comments, you need to log in
Which of these menus is correct in terms of BEM methodology?
I just can’t figure out how to correctly cover the two-level menu with classes so that it doesn’t contradict the BEM methodology. Made two options. Help me decide (although it may be that among them there is no correct 0_o).
option 1
option 2
ps I understand that the first option is shorter and more elegant. but it's about which option corresponds to the philosophy of methodology.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question