15 Images Example
body {
margin: 0;
padding: 0;
}
.container {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
height: 100vh;
}
.container div, .container span {
box-sizing: border-box;
height: calc(33.33% – 10px);
width: calc(33.33% – 10px);
margin: 5px;
padding: 0;
border: 5px solid white;
overflow: hidden;
}
.container img {
height: 100%;
width: 100%;
object-fit: cover;
object-position: center;
}














