Last active
June 11, 2018 01:24
-
-
Save Seanmclem/6a75feb4e3498fa7b9a0796bc889616a to your computer and use it in GitHub Desktop.
style and animations
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
.mobile-menu{ | |
//for animations | |
height:0px; | |
overflow:hidden; | |
transition: height 0.5s ease; | |
&.open{ | |
height:260px; | |
} | |
// | |
a{ | |
padding:5px 5px 5px 5px; | |
margin: 10px; | |
font-family: 'Roboto', sans-serif; | |
color:white; | |
text-decoration: none; | |
letter-spacing: 0.5px; | |
&.active{ | |
border-bottom: 1.5px solid; | |
} | |
} | |
display: flex; | |
align-items: center; | |
flex-direction: column; | |
background-color: #3700b3; | |
box-shadow: 0 2px 2px 0 gray; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment