Created
October 19, 2021 02:27
-
-
Save paolojoaquinp/ea24bbffe567efeb62942b01110dba17 to your computer and use it in GitHub Desktop.
lego-superheroes/styles/phone.css
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
.navbar__content { | |
width: 100%; | |
display: flex; | |
justify-content: space-between; | |
padding: 10px 30px; | |
} | |
.navbar__menu ul { | |
margin: 30px 0 0 0; | |
opacity: 0; | |
position: absolute; | |
visibility: hidden; | |
width: auto; | |
display: flex; | |
flex-direction: column; | |
background: white; | |
transition: opacity 400ms, visibility 400ms,z-index 400ms; | |
transition-delay: 300ms; | |
z-index: 0; | |
} | |
.navbar__menu ul li { | |
display: block; | |
padding: 5px; | |
} | |
.navbar__menu { | |
height: auto; | |
width: 100px; | |
text-align: right; | |
} | |
.toggle__menu { | |
display: block; | |
} | |
.navbar__menu:hover > ul { | |
opacity: 1; | |
visibility: visible; | |
transition: opacity 400ms, visibility 400ms,z-index 400ms; | |
transition-delay: 300ms; | |
z-index: 1; | |
} | |
.main-content { | |
margin-left: 30px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment