Skip to content

Commit dc87b60

Browse files
authored
Update small.css
1 parent 4ccfda5 commit dc87b60

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

css/small.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,18 @@ nav button {
3434
transform: scale(1.25);
3535
font-size: 1.6rem;
3636
color: #555;
37+
transition: 1s;
3738
}
39+
@keyframes navbutton {
40+
from {opacity: .2;}
41+
to {opacity: 1;}
3842
nav ul {
3943
list-style-type: none;
4044
padding: 0;
4145
margin: 0;
4246
display: block;
43-
transition: display 1s;
47+
animation-name: navbutton;
48+
animation-duration: 2s;
4449
}
4550
/* nav ul li {
4651
float: left;
@@ -70,10 +75,10 @@ nav ul li.active a { /* if this were above hover then hover woul
7075
}
7176

7277
nav ul.hide {display: none; }
73-
button.hide {
78+
nav button.hide {
7479
box-shadow: 0 0 8px 1px #6f6f6f inset;
7580
color: white;
76-
transition: 1s;
81+
transition: .5s;
7782
}
7883

7984
/*----------- hamburger menu icon --------------*/

0 commit comments

Comments
 (0)