Stay Close
proximity styling, scoped to a subtree
@scope (.card) to (.card .content) {
/* nearest .card wins — proximity over specificity */
a {
color: var(--brand);
}
} proximity styling, scoped to a subtree
@scope (.card) to (.card .content) {
/* nearest .card wins — proximity over specificity */
a {
color: var(--brand);
}
}