Question: Which style rule would make the image 50% smaller during a hover?
- img#photo:hover {scale: 0.5;}
- img#photo:hover {transform: scale(0.5);}
- img#photo {hover-scale: 0.5;}
- img#photo:hover {size: smaller;}
Answer: The correct answer of the above question is Option B:img#photo:hover {transform: scale(0.5);}