Question: You have a set of images that are slightly different sizes and aspect ratios. You don't mind if you crop off some of the image, but you want each image to completely fill a square box without being distorted. Which property and value would achieve this?
- object-fit: contain
- object-fit: stretch
- object-fit: all
- object-fit: cover
Answer: The correct answer of the above question is Option D:object-fit: cover