Created
April 5, 2018 21:43
-
-
Save HectorBlisS/73b68506d487170d3fea6d6b4112d11b to your computer and use it in GitHub Desktop.
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
html, body, h3{ | |
margin: 0; | |
} | |
nav{ | |
background-color:red; | |
height: 54px; | |
color:white; | |
} | |
nav .menu{ | |
display: none; | |
float: right; | |
color:blue; | |
} | |
.menu span{ | |
display: block; | |
} | |
button{ | |
float: right; | |
color:orange; | |
} | |
/* Esto es cuando es grande */ | |
@media (min-width: 600px){ | |
button{ | |
display: none; | |
} | |
nav .menu{ | |
display: inherit; | |
} | |
nav{ | |
background-color: black; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment