File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ export default {
45
45
}
46
46
47
47
.cube1 , .cube2 {
48
- width : 15 px ;
49
- height : 15 px ;
48
+ width : 25 % ;
49
+ height : 25 % ;
50
50
position : absolute ;
51
51
top : 0 ;
52
52
left : 0 ;
@@ -59,18 +59,28 @@ export default {
59
59
60
60
@keyframes sk-cubemove {
61
61
25% {
62
- transform : translateX (20px ) rotate (-90deg ) scale (0.5 );
62
+ top : 0 ;
63
+ left : calc (100% - 25% );
64
+ transform : rotate (-90deg ) scale (0.5 );
63
65
}
64
66
50% {
65
- transform : translateX (20px ) translateY (20px ) rotate (-179deg );
67
+ top : calc (100% - 25% );
68
+ left : calc (100% - 25% );
69
+ transform : rotate (-179deg );
66
70
}
67
71
50.1% {
68
- transform : translateX (20px ) translateY (20px ) rotate (-180deg );
72
+ top : calc (100% - 25% );
73
+ left : calc (100% - 25% );
74
+ transform : rotate (-180deg );
69
75
}
70
76
75% {
71
- transform : translateX (0px ) translateY (20px ) rotate (-270deg ) scale (0.5 );
77
+ top : calc (100% - 25% );
78
+ left : 0 ;
79
+ transform : rotate (-270deg ) scale (0.5 );
72
80
}
73
81
100% {
82
+ top : 0 ;
83
+ left : 0 ;
74
84
transform : rotate (-360deg );
75
85
}
76
86
}
You can’t perform that action at this time.
0 commit comments