by csnover · 4y ago · 0 comments
If you really have to select that element by ID for some reason, you can use an attribute selector instead—`[id=foo]`—and then it’s also in bucket B and can be controlled in the normal way.
Basically, you should consider ID selectors (and element selectors) an antipattern and never use them.
> Note: Repeated occurrences of the same simple selector are allowed and do increase specificity.
*:is(#a#b, .someclass) {...}
overrides any selector with a single id; you add more ids to override more specific selectors (except inline stiles and !important)