0
Why doesn't the CSS transform property work?
7 ответов
+ 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
+ 2
Sergey Kagal
I got your analog clock working...
https://code.sololearn.com/WWwGss9tHOHQ/?ref=app
+ 1
moin
I try to delete and write, but nothing happening 😞
+ 1
Thanks for your message, it helped me 👍
+ 1
Moin!
I'm glad it helped Sergey Kagal.
Happy coding!
+ 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);
}
+ 1
Good job Bob👍