In the example I have, I apply the same styling to an image and a div.
Interestingly, the styling on the div makes the image look significantly better, while on the image itself it appears distorted. What could be causing this discrepancy? Both elements are styled in the same way, yet the effect is not consistent. Take a look at the code sandbox example for more details