O'Reilly logo
  • 5a72d177 a323e5f8 thinks this is interesting:

you could simply clip off that excess image data by applying overflow: hidden.

From

Cover of Responsive Web Design, Second Edition

Note

The new object-fit attribute seems like a more reasonable alternative if supported.