How to change rotation point? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to change rotation point?

In my next code I'll have to rotate an object, so wrote "transform:rotate(45deg)". The problem is that the position of the left corner mustn't change. (The object is a rectangle that should look like a stroke. "45deg" is the corner and can be changed.)

11th Dec 2018, 1:54 PM
C. Scheler
C. Scheler - avatar
1 Answer
+ 2
Maybe this post can help you out - https://www.sololearn.com/Discuss/1550617/?ref=app
11th Dec 2018, 2:11 PM
Faisal
Faisal - avatar