Account Deleted
This comment was deleted
@davood-webdev Thanks! Please clarify my understanding below if I missed/got anything wrong.
If I understood your message correctly, your feedback is the following:
- Rather than
plan-selection__img
,plan-selection__text
,plan-selection__link
, I should usecard__plan-selection__img
,card__plan-selection__text
,card__plan-selection__link
.
From my understanding, this would break BEM conventions of <block>__<element>--<modifier>
.
- For
card__plan-selection
, this is saying that the plan selection element is part of a card block. - For
plan-selection__{img,text,links}
, this is saying that each one of those elements is part of a plan-selection block.