change translate origin css code example
Example: css transform origin
/* Syntax */
transform-origin: y-axis x-axis z-axis|initial|inherit;
/* Example */
transform-origin: center right;
/* Possible Values
x-axis - left, center, right, (length), (%)
y-axis - top, center, bottom, (length), (%)
z-axis - (length)
*/