Skip to content

Using modifiers of other elements #148

@stefan-1st

Description

@stefan-1st

Hey all,

i have to review code of some other guys that used BEM. I am not used to BEM so i am wondering if this is a correct use:

sh-headline sh-headline--super sh-text--white sh-text--no-line-height sh-headline--slogan-second-line

I am quite sure it is not. Is it? Quite similar is the following:

sh-textlink__icon sh-icon sh-icon--arrow-right-large

What do you think about this? Is this a regular use of the mix approach?

Kind regards
Stefan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions