1

My CSS:

-webkit-transform: translateX(350px) translateZ(-200px) rotateY(45deg);

Method to get transform value:

var matrix = $item.css("transform");

Then I get the value like this:

matrix3d(0.707107, 0, 0.707107, 0, 0, 1, 0, 0, -0.707107, 0, 0.707107, 0, 350, 0, -200, 1)

Question:

How can I get the rorateY value?
vonbrand
  • 11,412
  • 8
  • 32
  • 52
Irwin Ai
  • 59
  • 2
  • 5

0 Answers0