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

WBOY
Release: 2016-06-24 11:23:01
Original
2218 people have browsed it

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*/

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!