I have this div
How do I get the
transform: scale(x,y)
and then
var vals = $('#container').css('transform').replace(/\(|\)|scale/g,'').split(',')
Now, you have the scale values in vals as string, just parse parseFloat(vals[0]) and parseFloat(vals[1]) to number to get the value of x and y
vals
parseFloat(vals[0])
parseFloat(vals[1])
x
y