Which style rule would make the image 50% smaller during a hover?

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest

Which style rule would make the image 50% smaller during a hover?
<img id=”photo” alt=”” src=”…” />

  • img#photo:hover {scale: 0.5;}
  • img#photo:hover {transform: scale(0.5);}
  • img#photo {hover-scale: 0.5;}
  • img#photo:hover {size: smaller;}
0/5 (0 Reviews)

Like this article?

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest

Related Posts