Open Plou opened 8 years ago
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
If the BEM is choosed, we'll have to look into scss-lint NestingDepth
:
.list {
&-item {
&-link {
&:hover { text-decoration: none; }
}
}
}
nesting depth is calculated as 4
.list-item-link:hover {
text-decoration: none;
}
I think we should go towards the BEM naming system