oficiodesign / initial-css

MIT License
4 stars 1 forks source link

Remove `!important` from `hidden` #117

Closed robsonsobral closed 1 year ago

robsonsobral commented 2 years ago

I regret the #18 . We need more specificity, but not so much; which avoids animation.

Maybe this is a better idea:

template {
  display: none !important;
}
[hidden][hidden] {
  display: none;
}
robsonsobral commented 2 years ago

In case we need animation, we override the dsplay using !important. It has been proven to be safer.

robsonsobral commented 1 year ago

WTF I closed this?