Image animation when the mouse pointer is on the image | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Image animation when the mouse pointer is on the image

i want the image to be 50% bigger when thr mouse pointer enter the image.. and the size goes back to normal when the mouse pointer leave the image.. how?

26th Sep 2017, 5:00 AM
boyd
boyd - avatar
2 Answers
+ 2
img:hover { -ms-transform: scale(1.5, 1.5); /* IE 9 */     -webkit-transform: scale(1.5, 1.5); /* Safari */     transform: scale(1.5, 1.5); }
26th Sep 2017, 5:30 AM
Calviղ
Calviղ - avatar
21st Jul 2020, 3:10 AM
shubham kumar
shubham kumar - avatar