File tree 1 file changed +12
-5
lines changed
1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -36,16 +36,21 @@ nav button {
36
36
color : # 555 ;
37
37
transition : 1s ;
38
38
}
39
- @keyframes navbutton {
39
+ @keyframes navULshow {
40
40
from {opacity : .2 ;}
41
41
to {opacity : 1 ;}
42
+ }
43
+ @keyframes navULhide {
44
+ from {opacity : 1 ;}
45
+ to {opacity : .2 ;}
46
+ }
42
47
nav ul {
43
48
list-style-type : none;
44
49
padding : 0 ;
45
50
margin : 0 ;
46
51
display : block;
47
- animation- name: navbut to n ;
48
- animation- duration: 2 s ;
52
+ animation-name : navULshow ;
53
+ animation-duration : 1 s ;
49
54
}
50
55
/* nav ul li {
51
56
float: left;
@@ -74,11 +79,13 @@ nav ul li.active a { /* if this were above hover then hover woul
74
79
box-shadow : 0 0 16px 0 # 5a5a5a inset;
75
80
}
76
81
77
- nav ul .hide {display : none; }
82
+ nav ul .hide {display : none;
83
+ animation-name : navULhide;
84
+ animation-duration : 1s ;
85
+ }
78
86
nav button .hide {
79
87
box-shadow : 0 0 8px 1px # 6f6f6f inset;
80
88
color : white;
81
- transition : .5s ;
82
89
}
83
90
84
91
/*----------- hamburger menu icon --------------*/
You can’t perform that action at this time.
0 commit comments