We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think we should go towards the BEM naming system
/* Plain CSS */ .article { font-size: 16px; } .article__title { font-size: 24px; } /* Using preprocessor */ .article { font-size: 16px; &__title { font-size: 24px; } }
The text was updated successfully, but these errors were encountered:
Don't forget to mention a real example ;)
.news-item__header--active:hover { ... }
Without preprocessor, BEM is pain in the ass but with good preprocessor habits, I think it could be great
Sorry, something went wrong.
If the BEM is choosed, we'll have to look into scss-lint NestingDepth :
NestingDepth
.list { &-item { &-link { &:hover { text-decoration: none; } } } }
nesting depth is calculated as 4
.list-item-link:hover { text-decoration: none; }
it's not a problem for them :)
No branches or pull requests
I think we should go towards the BEM naming system
The text was updated successfully, but these errors were encountered: