Why my animation is not scale 😞? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why my animation is not scale 😞?

Why one animation is not working (scale) while another animation is working (glow or hue-rotate) I tried different code, different style but it's still not working... Now I lost... Can anyone please help me to find my mistake and correct my code ? please help me to solve my problem 🙏 https://code.sololearn.com/WaYDPpeSNlbg/?ref=app

10th Sep 2022, 11:43 AM
Pooja Sahoo
Pooja Sahoo - avatar
2 Answers
+ 4
here's a solution: make the span display:inline-block; https://code.sololearn.com/W505jncjkXow/?ref=app this almost crashed my lil phone xD ( too heavy animation)
10th Sep 2022, 12:03 PM
Prashanth Kumar
Prashanth Kumar - avatar
+ 2
transform cant be applied on inline elements . since span is inline element , transform : scale wont work..
10th Sep 2022, 11:57 AM
Prashanth Kumar
Prashanth Kumar - avatar