File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -36,16 +36,21 @@ nav button {
3636 color : # 555 ;
3737 transition : 1s ;
3838}
39- @keyframes navbutton {
39+ @keyframes navULshow {
4040 from {opacity : .2 ;}
4141 to {opacity : 1 ;}
42+ }
43+ @keyframes navULhide {
44+ from {opacity : 1 ;}
45+ to {opacity : .2 ;}
46+ }
4247nav ul {
4348 list-style-type : none;
4449 padding : 0 ;
4550 margin : 0 ;
4651 display : block;
47- animation- name: navbut to n ;
48- animation- duration: 2 s ;
52+ animation-name : navULshow ;
53+ animation-duration : 1 s ;
4954}
5055/* nav ul li {
5156 float: left;
@@ -74,11 +79,13 @@ nav ul li.active a { /* if this were above hover then hover woul
7479 box-shadow : 0 0 16px 0 # 5a5a5a inset;
7580}
7681
77- nav ul .hide {display : none; }
82+ nav ul .hide {display : none;
83+ animation-name : navULhide;
84+ animation-duration : 1s ;
85+ }
7886nav button .hide {
7987 box-shadow : 0 0 8px 1px # 6f6f6f inset;
8088 color : white;
81- transition : .5s ;
8289}
8390
8491/*----------- hamburger menu icon --------------*/
You can’t perform that action at this time.
0 commit comments