M
M
Maxim2019-06-16 22:19:23
css
Maxim, 2019-06-16 22:19:23

Why even the creators of BEM use Atomic CSS in their projects, if the majority scolds it?

And they don't just use Atomic, they even mix it with BEM.
We go to the landing page of the School of Interface Development from Yandex (it seems like they should teach the right things there), open Devtools and see the following picture:
5d06961d428cc833994477.png5d0696247166a580939113.png
I hope they at least did not write inline styles manually, but some script generated them.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2019-06-17
@webmaxer

Formally, there is BEM in classical notation . block__elem_mod-name_mod-value
We see here a block textwith modifiers.
Value Modifier and sizeValue s24
Modifier The fact that modifiers degenerate to a single css property does not make BEM AtomicCSS. alignleft

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question