Answers for "css trasform origin"

CSS
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
1

transform orgin css

div {
  transform: rotate(45deg);
  transform-origin: 20% 40%;
}
Posted by: Guest on July-10-2020

Browse Popular Code Answers by Language