JSFiddle - React, Tailwind, and code Playground
HTML
<div id="yourid"></div>
<div id="scalex"></div>
<div id="scaley"></div>
CSS
#yourid {
width: 100px;
height: 100px;
background-color: #c00;
-webkit-transform: scale(1.7,2);
}
#scalex {
margin-top: 100px;
}
JavaScript
node = $("#yourid")[0];
var curTransform = new WebKitCSSMatrix(window.getComputedStyle(node).webkitTransform);
$("#scalex").text("Scale X: " + curTransform.a);
$("#scaley").text("Scale Y: " + curTransform.d);