0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

Animate dropdown

This commit is contained in:
Trevor Buckner
2021-10-14 00:40:51 -04:00
parent 872125515e
commit feb8fcadd6

View File

@@ -1,3 +1,11 @@
@keyframes glideDropDown {
0% {transform : translate(0px, -100%);
opacity : 0;
background-color: #333;}
100% {transform : translate(0px, 0px);
opacity : 1;
background-color: #333;}
}
nav{
background-color : #333;
.navContent{
@@ -87,6 +95,8 @@ nav{
z-index : 10000;
width : 100%;
.navItem{
animation-name: glideDropDown;
animation-duration: 0.4s;
position : relative;
display : block;
width : 100%;