3 ms·
> - The built-in rule for [hidden] { display: none; } is often of no help as another css class may set display to something else, so from the developer's perspe
by acbabis 10y ago
> - The built-in rule for [hidden] { display: none; } is often of no help as another css class may set display to something else, so from the developer's perspective the "hidden" attribute seems to be broken.
[hidden] { display: none !imporant; } is one of the few examples where I think `!important` is OK.