How can I set a rotation point for an element in CSS?

后端 未结 4 1084
栀梦
栀梦 2020-12-20 10:57

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%;
         


        
4条回答
  •  忘掉有多难
    2020-12-20 11:24

    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.

提交回复
热议问题