Why doesn't the CSS transform property work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why doesn't the CSS transform property work?

https://code.sololearn.com/WDTnLEB3Oczu/?ref=app

26th Nov 2023, 10:10 AM
Sergey Kagal
Sergey Kagal - avatar
7 Answers
+ 5
I don't know what went wrong with yours, but I deleted your transform line and wrote the same thing and it works: https://code.sololearn.com/W5wjc194I7Ye/?ref=app
26th Nov 2023, 11:15 AM
Ausgrindtube
Ausgrindtube - avatar
28th Nov 2023, 5:58 AM
Bob_Li
Bob_Li - avatar
+ 1
moin I try to delete and write, but nothing happening 😞
26th Nov 2023, 11:29 AM
Sergey Kagal
Sergey Kagal - avatar
+ 1
Thanks for your message, it helped me 👍
26th Nov 2023, 11:35 AM
Sergey Kagal
Sergey Kagal - avatar
+ 1
Moin! I'm glad it helped Sergey Kagal. Happy coding!
26th Nov 2023, 7:25 PM
Ausgrindtube
Ausgrindtube - avatar
+ 1
Sergey Kagal your clock hand needs a proper transform-origin so that it is correctly centered. .arrow{ width:50%; height:3px; background-color:white; transform-origin:right; transform: rotate(20deg); }
27th Nov 2023, 6:19 AM
Bob_Li
Bob_Li - avatar
+ 1
Good job Bob👍
29th Nov 2023, 8:31 AM
Sergey Kagal
Sergey Kagal - avatar