keruilin
keruilin

Reputation: 17512

Compass version of CSS3 3D transform code

Is there a Compass equivalent for the following CSS3 3D transform code?

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

Upvotes: 1

Views: 6401

Answers (1)

Miriam Suzanne
Miriam Suzanne

Reputation: 14010

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.

Upvotes: 5

Related Questions