Created
February 5, 2024 12:51
-
-
Save RomanMaksudov/9bedfc128213492800cb98f65af5d59f to your computer and use it in GitHub Desktop.
Display_none
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="red"></div> | |
<div class="yellow"></div> | |
<div class="green"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div { | |
display:inline; | |
padding: 100px; | |
} | |
.red { | |
display: none; | |
background-color:red; | |
} | |
.yellow { | |
background-color:yellow; | |
} | |
.green { | |
background-color:green; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment