I want an image to take up entire width of its container. I tried using:
img{
display: block;
width: 100%;
height: auto;
}
but there is a small part of the container to the right which the img doesn’t cover. The image has dimensions of at least 1200 x 400 px. I wonder what is wrong. There is a pen Here.