【发布时间】:2013-11-15 06:57:20
【问题描述】:
为什么会这样:
$("#bottom").css({"transform":"rotateX ("+rotation[0][0] + "deg)"}); 不工作?
rotation[0][0] 已定义,我可以更改任何其他属性(例如背景颜色),那么如何使用 Jquery 沿 X 轴旋转元素? 我正在使用 chrome,但我也尝试过使用 -webkit-transform。
【问题讨论】:
-
inspect 元素确实查询在内联上添加变换或使用
webkit-transform代替变换