Answer the question
In order to leave comments, you need to log in
Are global styles and BEM incompatible concepts?
Basic element styles (those that need to be redefined later) do not correspond to the BEM concept?
Can I write base styles for the body and then cascade them to other elements on the page. Or in BEM I have to set the font, color, etc. every time. for each block. Those. cascading inheritance is not about BEM?
Answer the question
In order to leave comments, you need to log in
Use a preprocessor. Set global styles for body, they will be inherited.
Hello.
You can set the base font and color.
If you need to use a custom font somewhere, you can create a block for this option and the font-face modifier to use in the desired blocks.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question