How to call classes according to the BEM in this case?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
28 views
Good day! Very confused with BEM. I have the following code:

Ie, there is no universal block list that I use on the page, I need to put meta data about the post, date of publication, name of the author (post__time, post__author) all this separately in each list__item. But as I understand the entry in the code above

is not true because you cannot nest a element of one block into another block. How to call classes in this case? I hope clearly explained.
by | 28 views

1 Answer

0 like 0 dislike
But as I understand the entry in the code above is not correct because you cannot nest a element of one block into another block.

You can, if the block list in the block post, in BEM there is no limitation in nesting in the HTML code.
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
0 like 0 dislike
2 answers
110,608 questions
257,187 answers
0 comments
40,796 users