Answer the question
In order to leave comments, you need to log in
Is it normal for BEM to make blocks of text?
Is it normal for BEM to make blocks as simple as text, and put these blocks in other blocks (like a button block)?
Answer the question
In order to leave comments, you need to log in
Yes, it’s okay, but your modifiers are not very good, the binding to styles is too high, more precisely to one CSS property, BEM recommends coming up with names based on semantics, or at least you can use more abstract names, this will allow you to maintain readability and have room to maneuver.
text_color_white -> text_light
text_color_grey -> text_dim
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question