File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,18 @@ nav button {
34
34
transform : scale (1.25 );
35
35
font-size : 1.6rem ;
36
36
color : # 555 ;
37
+ transition : 1s ;
37
38
}
39
+ @keyframes navbutton {
40
+ from {opacity : .2 ;}
41
+ to {opacity : 1 ;}
38
42
nav ul {
39
43
lis t- style-type: none;
40
44
padding: 0;
41
45
margin: 0;
42
46
dis play: block;
43
- transition : display 1s ;
47
+ animation- name: navbutto n;
48
+ animation- duration: 2s ;
44
49
}
45
50
/* nav ul li {
46
51
float: left;
@@ -70,10 +75,10 @@ nav ul li.active a { /* if this were above hover then hover woul
70
75
}
71
76
72
77
nav ul .hide {display : none; }
73
- button .hide {
78
+ nav button .hide {
74
79
box-shadow : 0 0 8px 1px # 6f6f6f inset;
75
80
color : white;
76
- transition : 1 s ;
81
+ transition : .5 s ;
77
82
}
78
83
79
84
/*----------- hamburger menu icon --------------*/
You can’t perform that action at this time.
0 commit comments