1/* Syntax */
2transform-origin: y-axis x-axis z-axis|initial|inherit;
3
4/* Example */
5transform-origin: center right;
6
7/* Possible Values
8
9 x-axis - left, center, right, (length), (%)
10 y-axis - top, center, bottom, (length), (%)
11 z-axis - (length)
12
13*/
1transform-origin: 0 0;
2transform: translate(-100%, 50%) rotate(45deg) translate(100%, -50%);
1Awesome Demo of transform-origin:
2https://www.w3schools.com/cssref/trycss3_transform-origin_inuse.htm