You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BEM methodology involves the use of flat structure inside a block. It means that BEM entity can not be represented as an element of the other element and the following string representation will be invalid:
73
-
74
-
```js
75
-
'block__some-elem__sub-elem'
76
-
```
77
-
78
-
Also there is no such BEM entity as a modifier and an element modifier simultaneously so the following string representation will be invalid:
@@ -323,6 +308,21 @@ String to separate modifiers from blocks and elements.
323
308
324
309
String to separate value of modifier from name of modifier.
325
310
311
+
Common misconceptions
312
+
---------------------
313
+
314
+
BEM methodology involves the use of flat structure inside a block. It means that BEM entity can not be represented as an element of the other element and the following string representation will be invalid:
315
+
316
+
```js
317
+
'block__some-elem__sub-elem'
318
+
```
319
+
320
+
Also there is no such BEM entity as a modifier and an element modifier simultaneously so the following string representation will be invalid:
БЭМ-методология предполагает использование плоской структуры внутри блока, это означает, что БЭМ-сущность не может быть представлена как элемент элемента, и следующее строковое представление будет невалидным:
73
-
74
-
```js
75
-
'block__some-elem__sub-elem'
76
-
```
77
-
78
-
Также не бывает такой БЭМ-сущности, как модификатор блока и модификатор элемента одновременно, поэтому следующее строковое представление будет невалидным:
Строка для разделения значения модификатора от названия модификатора.
325
310
311
+
Частые заблуждения
312
+
------------------
313
+
314
+
БЭМ-методология предполагает использование плоской структуры внутри блока, это означает, что БЭМ-сущность не может быть представлена как элемент элемента, и следующее строковое представление будет невалидным:
315
+
316
+
```js
317
+
'block__some-elem__sub-elem'
318
+
```
319
+
320
+
Также не бывает такой БЭМ-сущности, как модификатор блока и модификатор элемента одновременно, поэтому следующее строковое представление будет невалидным:
0 commit comments