transform-origin
The transform-origin
property is used in conjunction with CSS transforms, letting you change the point of origin of a transform.
.element {
transform: rotate(360deg);
transform-origin: top left;
}
As indicated above, the transform-origin
property can take up to two space-separated …