I am writing CSS in BEM style and have this code:
.nav {
&__list {
&__item {
}
}
&__link {
&--active {
}
}
}
How do I get to .nav .nav__link--active
and .nav__link.nav__link--active
from the code above? How can I increase the specificity with this method?
source
to share