Transform:rotate | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Transform:rotate

When we use transform: rotate for any element then from when does it rotate the element from center or from anywhere else.

17th Jun 2020, 4:51 PM
Adnan Ur Rehman
Adnan Ur Rehman - avatar
2 Answers
+ 3
From center is default. Use transform-origin for anywhere else: https://www.sololearn.com/learn/CSS/2251/
17th Jun 2020, 6:21 PM
Kevin ★
+ 1
Thanks
17th Jun 2020, 6:30 PM
Adnan Ur Rehman
Adnan Ur Rehman - avatar