You can use transform-origin to reposition the source:
.myClass{
-webkit-animation-duration: 1s;
-webkit-animation-name: myAnim;
-webkit-animation-iteration-count: infinite;
-webkit-transform-origin: 275px 150px;
-webkit-animation-timing-function: linear;
}
You just need to use the rotation to see it in action now :)
Here is the official documentation:
http://www.w3.org/TR/css3-3d-transforms/#transform-origin-property
source
share