css - Are there any standards for blocks in BEM? When is it decided to partially extract an element as a block instead of its parent (Element)?~
滿天的星座
滿天的星座 2017-05-16 13:20:50
0
1
620

Is there any standard for blocks in BEM? How do you decide to extract a part into a block instead of an element of its parent? I don’t have a good grasp of the granularity, which makes me struggle to death when writing styles~

滿天的星座
滿天的星座

reply all(1)
大家讲道理

Recommend reading this article: Battling BEM (Extended Edition): 10 Common Problems And How To Avoid Them

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template