The hidden attribute removes the need to define display: none
cssisntmagic.substack.com
We don't need to define display: none by hand when creating the elements that can be shown or hidden. Just add the hidden attribute to the element and define all CSS with :not([hidden])π‘ P.S. β€ Thank you so much, my sponsors: Ben Rinehart, Tatiana Ten
The hidden attribute removes the need to define display: none
The hidden attribute removes the need toβ¦
The hidden attribute removes the need to define display: none
We don't need to define display: none by hand when creating the elements that can be shown or hidden. Just add the hidden attribute to the element and define all CSS with :not([hidden])π‘ P.S. β€ Thank you so much, my sponsors: Ben Rinehart, Tatiana Ten