Skip to content

Commit d3c42a6

Browse files
committed
use scale instead of hardcoded width values lmao
1 parent 1fe283a commit d3c42a6

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

page.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
@keyframes effect {
22
from {
33
opacity: 0%;
4-
width: 590px;
5-
left: calc(50% - 295px);
6-
top: calc(50% - 25px);
4+
scale:1;
75
}
86

97
to {
108
opacity: 25%;
11-
width: 649px;
12-
left: calc(50% - 325px);
13-
top: calc(50% - 28px);
9+
scale:1.1;
1410
}
1511
}
1612

13+
1714
.logo {
1815
position: absolute;
1916
left: calc(50% - 295px);

0 commit comments

Comments
 (0)