Image gallery. the image excels the panel

What’s missing in this code? I want the image to fit inside the rectangle.

I just Forked your project and saw that you have img {margin:30px;} in your CSS. If you change that to padding:30px (instead of margin), then the photo will fit instead the rectangle.

1 Like