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])💡
Drop me any questions, feedback or just hey 👇
❤ Thank you so much, my sponsors: Tatiana Ten