Skip to content

Instantly share code, notes, and snippets.

@Seanmclem
Last active June 11, 2018 01:24
Show Gist options
  • Save Seanmclem/6a75feb4e3498fa7b9a0796bc889616a to your computer and use it in GitHub Desktop.
Save Seanmclem/6a75feb4e3498fa7b9a0796bc889616a to your computer and use it in GitHub Desktop.
style and animations
.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