File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change 8
8
</div >
9
9
<div class =" ball" >
10
10
</div >
11
- <div class =" ballhit" >
12
- </div >
13
11
</div >
14
12
</div >
15
13
</div >
@@ -74,24 +72,14 @@ export default {
74
72
right :0 ;
75
73
animation : pingpong- position2 2s linear infinite ;
76
74
}
77
- .ball ,
78
- .ballhit {
75
+ .ball {
79
76
width :15px ;
80
77
height :15px ;
81
78
border-radius :50% ;
82
79
background :#41b883 ;
83
80
position :absolute ;
84
81
animation : pingpong- bounce 2s linear infinite ;
85
82
}
86
- .ballhit {
87
- padding :4px ;
88
- margin :-6px 0 0 -6px ;
89
- border-radius :50% ;
90
- background :#41b883 ;
91
- border :2px #41b883 solid ;
92
- z-index :-1 ;
93
- animation : pingpong- bounce2 2s linear infinite ;
94
- }
95
83
@keyframes pingpong-position1 {
96
84
0% {top :-60px ;}
97
85
25% {top :0 ;}
@@ -113,15 +101,4 @@ export default {
113
101
75% {top :-35px ;left :225px ;}
114
102
100% {top :-35px ;left :10px ;}
115
103
}
116
- @keyframes pingpong-bounce2 {
117
- 0% {top :-35px ;left :10px ; border :2px cornflowerblue solid ;}
118
- 24% {border :2px cornflowerblue solid ;}
119
- 25% {top :25px ;left :225px ; border :2px #41b883 solid ;}
120
- 49% {border :2px cornflowerblue solid ;}
121
- 50% {top :75px ;left :10px ; border :2px #41b883 solid ;}
122
- 74% {border :2px cornflowerblue solid ;}
123
- 75% {top :-35px ;left :225px ; border :2px #41b883 solid ;}
124
- 99% {border :2px cornflowerblue solid ;}
125
- 100% {top :-35px ;left :10px ; border :2px #41b883 solid ;}
126
- }
127
104
</style >
You can’t perform that action at this time.
0 commit comments