How to achieve arc-shaped motion trajectory in css3
扔个三星炸死你
扔个三星炸死你 2017-07-01 09:12:22
0
3
2112

Because I want to make the petals fall realistically
Now I just add a breakpoint at the middle point but the movement is very stiff
How can I use css3 keyfames to create that arc-shaped movement trajectory
Thank you very much for help

扔个三星炸死你
扔个三星炸死你

reply all(3)
三叔

It should be possible, but you need to calculate the changing parameters

某草草

I made an effect of gold coins falling
This is what my animation says

@keyframes drop
    0%
      transform: translate(0,0) rotate3d(0,1,0,0deg)
    33%
      transform: translate(-20px,245px) rotate3d(0,1,0,-60deg)
    66%
      transform: translate(20px,490px) rotate3d(0,1,0,60deg)
    100%
      transform: translate(0,736px) rotate3d(0,1,0,0deg)
  @keyframes drop2
    0%
      transform: translate(0,0) rotate3d(1,0,0,0deg)
    33%
      transform: translate(20px,245px) rotate3d(1,0,0,60deg)
    66%
      transform: translate(-20px,490px) rotate3d(1,0,0,-60deg)
    100%
      transform: translate(0,736px) rotate3d(1,0,0,0deg)
巴扎黑

The time parameter of the curve is constant speed horizontally and variable speed vertically. Or conversely, it can simulate the curve time parameters

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template