Answers for "transform origin on object css"

CSS
3

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)

*/
Posted by: Guest on March-06-2021
0

set transform-origin javascript

element.style.transformOrigin = "0 0";
Posted by: Guest on October-08-2021

Browse Popular Code Answers by Language