Skip to content

Commit 5c8fe9b

Browse files
committed
switched css keyframe animation to transistions
1 parent 948ff44 commit 5c8fe9b

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

css/secrets.css

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,18 @@ svg {
99
margin: 8px;
1010
}
1111

12-
.cell:hover, .cell:visited, .cell:focus {
13-
animation: spinFlowers 5s ease-in-out infinite normal forwards;
12+
.cell {
1413
padding: 0;
1514
margin: 0;
16-
}
1715

16+
-webkit-transform: rotate(0deg);
17+
transform: rotate(0deg);
18+
-webkit-transition: -webkit-transform 5s;
19+
transition: transform 5s;
20+
21+
}
22+
.cell:hover {
23+
transform: rotate(90deg);
24+
-webkit-transform: rotate(90deg);
1825

19-
@keyframes spinFlowers {
20-
0% {
21-
transform:rotate(0deg);
22-
}
23-
50% {
24-
transform:rotate(90deg);
25-
}
26-
100% {
27-
transform:rotate(0deg);
28-
}
2926
}

0 commit comments

Comments
 (0)