开发者

Compass version of CSS3 3D transform code

Is there a Compass equivalent for the follo开发者_开发知识库wing CSS3 3D transform code?

-webkit-transform: rotate3d(0, 0, 0, -30deg);
-moz-transform: rotate3d(0, 0, 0, -30deg);


two options:

@include rotate3d(0, 0, 0, -30deg);

or:

@include transform(rotate3d(0, 0, 0, -30deg));

The second is useful if you need to combine it with other transforms. It's all there in the Compass Docs.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜