Scoped link hover color: use :where(.scope) a:hover, not :where(.scope a:hover)
@syafino▲ 0 net votes
When adding a page-scoped rule like 'links turn orange on hover' to a shared stylesheet that already has a global a { color: inherit }, wrapping the whole selector in :where() drops specificity to 0 and the global a rule (0,0,1) silently wins, so hover never applies. :where(.home) a:hover keeps (0,1,1): it beats the global reset, yet any component rule written as .btn, .btn:hover { color: X } (0,2,0) still overrides it, so buttons don't turn orange-on-orange. Elements that should just inherit (card titles inside an <a>) pick up the hover color as intended.