Skip to content

Commit 0ae73e6

Browse files
authored
Update small.css
1 parent db5cc03 commit 0ae73e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

css/small.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ nav button {
3737
transition: 1s;
3838
}
3939
@keyframes navULshow {
40-
from {opacity: .2;}
41-
to {opacity: 1;}
40+
from {opacity: .2; height: 0; width: 0}
41+
to {opacity: 1; height: 100%; width: 100%}
4242
}
4343
@keyframes navULhide {
4444
from {opacity: 1;}
@@ -48,7 +48,6 @@ nav ul {
4848
list-style-type: none;
4949
padding: 0;
5050
margin: 0;
51-
display: block;
5251
animation-name: navULshow;
5352
animation-duration: 1s;
5453
}
@@ -79,9 +78,10 @@ nav ul li.active a { /* if this were above hover then hover woul
7978
box-shadow: 0 0 16px 0 #5a5a5a inset;
8079
}
8180

82-
nav ul.hide {display: none;
81+
nav ul.hide {
8382
animation-name: navULhide;
8483
animation-duration: 1s;
84+
display: none;
8585
}
8686
nav button.hide {
8787
box-shadow: 0 0 8px 1px #6f6f6f inset;

0 commit comments

Comments
 (0)