mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-05 21:02:43 +00:00
Animate dropdown
This commit is contained in:
@@ -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{
|
nav{
|
||||||
background-color : #333;
|
background-color : #333;
|
||||||
.navContent{
|
.navContent{
|
||||||
@@ -87,6 +95,8 @@ nav{
|
|||||||
z-index : 10000;
|
z-index : 10000;
|
||||||
width : 100%;
|
width : 100%;
|
||||||
.navItem{
|
.navItem{
|
||||||
|
animation-name: glideDropDown;
|
||||||
|
animation-duration: 0.4s;
|
||||||
position : relative;
|
position : relative;
|
||||||
display : block;
|
display : block;
|
||||||
width : 100%;
|
width : 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user