Is it possible to set the rotation point in CSS? The default rotation point is at the 50%, 50%. I tried:
transform: rotate(230deg);
rotation-point:90% 90%;
But it does not work... Any suggestions?
Is it possible to set the rotation point in CSS? The default rotation point is at the 50%, 50%. I tried:
transform: rotate(230deg);
rotation-point:90% 90%;
But it does not work... Any suggestions?
Try using the transform-origin property instead, rotation-point isn't supported...
For rotating on the top right point of an element (including all targeting):
-webkit-transform-origin: 100% 0;
-moz-transform-origin: 100% 0;
-ms-transform-origin: 100% 0;
-o-transform-origin: 100% 0;
transform-origin: 100% 0;