* { margin: 0px; padding: 0px; list-style-type: none; } #header { display: flex; height: 44px; background-color: #38b9e4; color: white; justify-content: center; align-items: center; } #main { display: flex; justify-content: center; } #photoHeader { width: 400px; } #photoBody { display: flex; justify-content: center; } #photoBodyMain ul li{ border: 1px solid transparent; border-radius: 20px; /* background-color: white; */ } #photoBodyMain ul li img { width:50%; margin: 0.1rem auto; display: block; line-height: 1; } #photoFooter { display: flex; justify-content: center; align-items: center; } #photoFooter img { width: 400px; }