Mastering Development

Diplaying only the center of an image at a given height and width?

When medium renders a list of card showing blog posts each card has the header image shown and it’s at full width, but the center of it has been cut out. Medium does this by cutting off the top and the bottom of each image so that they are all the same size like this: […]