I found this thread — How do you stretch an image to fill a
I h
Try this:
img { position: relative; left: 50%; min-width: 100%; min-height: 100%; transform: translateX(-50%); }
Hope this helps