81 lines
2.1 KiB
HTML
81 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Document</title>
|
|
|
|
<style>
|
|
* {
|
|
padding: 0;
|
|
margin:0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
div.cell_container {
|
|
height: 600px; width:600px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
padding:1rem;
|
|
}
|
|
|
|
div.cell {
|
|
width: 20%;
|
|
height: 20%;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
|
|
padding: 10px;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="cell_container">
|
|
|
|
<div style="
|
|
width:250px;
|
|
height:250px;
|
|
background-image: url(pic1.png);
|
|
background-size:contain;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
" ></div>
|
|
|
|
<div style="
|
|
width:250px;
|
|
height:250px;
|
|
background-image: url(pic2.png);
|
|
background-size:contain;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
" ></div>
|
|
|
|
<div style="
|
|
width:250px;
|
|
height:250px;
|
|
background-image: url(pic3.png);
|
|
background-size:contain;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
" ></div>
|
|
|
|
<div style="
|
|
width:250px;
|
|
height:250px;
|
|
background-image: url(pic4.png);
|
|
background-size:contain;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
" ></div>
|
|
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |