2 ms·
say you were building an accordion, you might want .adn { .adn-header {} .adn-tab {} } instead of the below which is just recreating the dom. This allow
by smrtinsert 13y ago
say you were building an accordion, you might want
.adn {
.adn-header {}
.adn-tab {}
}
instead of the below which is just recreating the dom. This allows you to meaningfully target the elements you want instead of just blindly applying styles everywhere.
div {
a {}
div {}
}