Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は BEM スタイルで CSS を書き、このコードを持っています:
.nav { &__list { &__item { } } &__link { &--active { } } }
上記のコードから取得する.nav .nav__link--activeにはどうすればよいですか? .nav__link.nav__link--activeこの方法でどのように特異性を高めることができますか?
.nav .nav__link--active
.nav__link.nav__link--active