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?
Use the transform-origin CSS property:
just go to http://www.w3schools.com/cssref/css3_pr_rotation-point.asp and read carefully. it says that none of the major browsers support this property.
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):
This will set the rotation pivot point on top-left corner of your element and rotate it:
take a glance at
.nav_item_txt
class:http://jsfiddle.net/KHkX7/