Css transform:scale(); not working..(solved) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Css transform:scale(); not working..(solved)

https://code.sololearn.com/Wq0t9SRkTz2B/?ref=app Go to css and go to line 289. You will see #earth:active #rocket1 { ..... } I am able zoom (transform scale for earth) but not able zoom(transform scale for rocket) why anyone define it.

9th Sep 2020, 7:14 AM
Abishek Ganesh B S
Abishek Ganesh B S - avatar
3 Answers
+ 8
❌transform: scale(0.2px); ✅transform: scale(0.2); Because you are talking how much time you want to scale any element . So there is no use of px there
9th Sep 2020, 7:49 AM
Ayush Kumar
Ayush Kumar - avatar
9th Sep 2020, 12:51 PM
Ayush Kumar
Ayush Kumar - avatar
9th Sep 2020, 7:50 AM
Abishek Ganesh B S
Abishek Ganesh B S - avatar