The way i want the gallery page to work is that when the button is pressed, the image will bring the picture to the middle and make it the same CSS(size and white shadow) and then the other images will be with the other CSS (smaller with black shadow)
HTML code:
<img id="Football" src="https://w-dog.net/wallpapers/3/12/331652870386587/club-stadium-sees-camp-nou-football-game-wallpaper-the-field-camp-nou-barcelona-spain-barcelona-the-player-match-sports-andres-iniesta.jpg" alt="Football">
<img id="Boxing" src="http://i.lv3.hbo.com/assets/images/sports/boxing/fights/2015-05-02-mayweather-vs-pacquiao/slideshow/mayweather-vs-pacquiao-ss-03-1024.jpg" alt="Boxing">
<img id="Basketball" src="http://wallpapercave.com/wp/WNc38uX.jpg" alt="Basketball">
CSS code:
#Boxing{
width:550px;
height:300px;
position:absolute;
margin-left:-200px;
margin-top:350px;
border-radius:10px;
z-index:-1;
opacity:0.8;
box-shadow: 0px 0px 100px black;
}
#Football{
width:550px;
height:400px;
position:relative;
margin-left:550px;
margin-top:300px;
box-shadow: 0px 0px 50px white;
border-radius:10px;
}
#Basketball{
width:550px;
height:300px;
position:absolute;
margin-left:-900px;
margin-top:350px;
border-radius:10px;
z-index:-1;
box-shadow: 0px 0px 100px black;
opacity:0.9;
}