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.
精彩评论