Answers for "set transform-origin javascript"

2

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

transform-origin

transform-origin: -100% 50%;
transform: rotate(45deg);
Posted by: Guest on June-04-2021
0

set transform-origin javascript

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language