Re:CSS is hard no matter how good you are at it
by burnte on Wednesday March 29, 2023 @03:33PM
(#35362131)
!important generally.
[ Parent
| on HN ]
Re:CSS is hard no matter how good you are at it
by forgetfulness on Wednesday March 29, 2023 @04:03PM
(#35362629)
The retort is that you should rely on specificity, by way of selectors.
Good thing that we have the specificity checker, that makes sure that the semantics of your application of styles remain sound if you change the structure of the document in ways that could affect the selectors!
Oh wait, there's no such thing, bummer.