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])π‘ β€ Thank you so much, my sponsors: Ben Rinehart, Tatiana Ten, Catherine Starobor-Strakhova, Vlad Bazhanov
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])π‘ β€ Thank you so much, my sponsors: Ben Rinehart, Tatiana Ten, Catherine Starobor-Strakhova, Vlad Bazhanov