Scripting CSS transforms with DOMMatrix
I recently discovered that the css transform of an element can be set to the stringified value of a DOMMatrix. This means that we can use a DOMMatrix instance to construct the transforms, scales, and rotatess that we need, and then set that instance ...
incodethismeans.com4 min read