I have an object which already has some kind of transform applied (but not scaling) with JavaScript. Mainly these:
(translate(69.8671px, 258.873px) translateZ(9999px) rotate(0deg);
What I would like to do is to apply scale to this as well.
I can read object transform with this:
var style = window.getComputedStyle($(this)[0]);
var matrix = new WebKitCSSMatrix(style.transform);
Is there a way I could now apply scale to this already existing transforms? I want to do this on mouseenter, mouseleave so I need to remove the scale well later.