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

Advertisement

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;}
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend