Click here to Skip to main content
15,890,670 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
This is what I currently have:

CSS
@keyframes spin {
  0% {
    -webkit-transform: rotate3d(0, 1, 0, 0deg) translate3d(0px, 0px, 0px);
  }
  25% {
    -webkit-transform: rotate3d(0, 1, 0, 45deg) translate3d(-1649px, 0px, -675px);
  }
  50% {
    -webkit-transform: rotate3d(0, 1, 0, 0deg) translate3d(0px, 0px, 0px);
  }
  75% {
    -webkit-transform: rotate3d(0, 1, 0, -45deg) translate3d(1622px, 0px, -679px);
  }
  100% {
    -webkit-transform: rotate3d(0, 1, 0, 0deg) translate3d(0px, 0px, 0px);
  }
}


I created a simple fiddle, look at how much the animation starts to lag when it's turning: https://jsfiddle.net/secbxd4x/1/

I need this animation to be super smooth

Thanks for the help :)
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900