You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to hide an element and remove the spacing:
class="sm:hidden"
-> .hidden {display: none;}
To show an element back I tried:
class="md:visible"
-> .visible {visible: visible;}
But I needed:
-> display: flex;
I wanted to show the element so I thought about the class visible but needed:
class="md:flex"
-> .flex {display: flex;}
I would put in the documentation next to hidden that you can make it visible back with the flex class.
The text was updated successfully, but these errors were encountered:
hidden sets display: none while visible sets visibility: visible. To change an element from hidden back to being normally rendered, you need to use another one of the display utilities.
It doesn't have to be flex, it can be any of them (block, inline-block, inline, flex, inline-flex, table, etc.)
I wanted to hide an element and remove the spacing:
class="sm:hidden"
-> .hidden {display: none;}
To show an element back I tried:
class="md:visible"
-> .visible {visible: visible;}
But I needed:
-> display: flex;
I wanted to show the element so I thought about the class visible but needed:
class="md:flex"
-> .flex {display: flex;}
I would put in the documentation next to hidden that you can make it visible back with the flex class.
The text was updated successfully, but these errors were encountered: