Home  >  Article  >  Web Front-end  >  transform:rotate(30deg);旋转安卓下 失效 为什么呢_html/css_WEB-ITnose

transform:rotate(30deg);旋转安卓下 失效 为什么呢_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:23:012159browse

transform:rotate(30deg);在网页上正常,在微信里面就没用了,为什么???


回复讨论(解决方案)

transform是属于CSS3的属性,各个浏览器支持不一样,需要各种前缀,你是否加上了?

加上前缀就没问题了。。。。。
-webkit-transform:rotate(-3deg); /*为Chrome/Safari*/-moz-transform:rotate(-3deg); /*为Firefox*/-ms-transform:rotate(-3deg); /*为IE*/-o-transform:rotate(-3deg); /*为Opera*/

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn