object-fit: cover

A CSS setting that makes an image fill its box without stretching, trimming the edges if needed. In Tailwind it's the class object-cover

Words that go with it