Replies: 4 comments
-
According to convention |
Beta Was this translation helpful? Give feedback.
-
Did you mean Answer: |
Beta Was this translation helpful? Give feedback.
-
@area73 Are you using 'bootstrap' library? I agree with the guys who has commented, the BEM ideology says 'icon_item' must be treated as an element, and you can't have both of them in the same tag. |
Beta Was this translation helpful? Give feedback.
-
Actually it's possible to mix a block with its element on the same tag if there's a valid reason for such mix. |
Beta Was this translation helpful? Give feedback.
-
I know that I can use a modifier within a block but,
can I do this ?
<span class="icon icon__item"> lorem ipsum </span>
Beta Was this translation helpful? Give feedback.
All reactions