When you click on the picture, it should appear in the center of the page in full size (maximum width: 1400px; height: 1000px ). It is also desirable that the rest of the background is darkened (as shown in the picture). How can this be implemented on pure css?
.pictures { -webkit-column-count: 4; -webkit-column-gap: 0px; -moz-column-count: 5; -moz-column-gap: 0px; column-count: 4; column-gap: 0px; width: 1200px; } .pictures img { display: flex; padding: 10px; width: 270px; height: auto; } <section class="pictures"> <img src="https://static.pexels.com/photos/46871/pexels-photo-46871-large.jpeg"> <img src="https://static.pexels.com/photos/60163/pexels-photo-60163-large.jpeg"> <img src="https://static.pexels.com/photos/1539/vintage-technology-music-old-large.jpg"> <img src="https://static.pexels.com/photos/36092/pexels-photo-large.jpg"> <img src="https://static.pexels.com/photos/9014/car-orange-retro-large.jpg"> <img src="https://static.pexels.com/photos/2017/vintage-music-closed-shop-large.jpg"> <img src="https://static.pexels.com/photos/64687/pexels-photo-64687-large.jpeg"> <img src="https://static.pexels.com/photos/474/black-and-white-car-vehicle-vintage-large.jpg"> <img src="https://static.pexels.com/photos/5842/people-vintage-photo-memories-large.jpg"> <img src="https://static.pexels.com/photos/2884/building-vintage-bike-monument-large.jpg"> </section> 