Method of transforming an element including rotating, scaling, etc. Includes support for `transform` as well as `transform-origin` properties.