CSS rotate property in IE

后端 未结 7 1103
深忆病人
深忆病人 2020-11-22 16:02

I want to rotate the DIV to a certain degree. In FF it functions but in IE I am facing a problem.

For example in the following style I can set rotation=1 to 4

<
7条回答
  •  醉酒成梦
    2020-11-22 16:37

    For IE11 example (browser type=Trident version=7.0):

    image.style.transform = "rotate(270deg)";
    

提交回复
热议问题