<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
* {
margin: 0;
padding: 0;
list-style: none;
}
body {
background-color: black;
}
.wrap {
width: 1139px;
height: 197px;
background-color: white;
margin: 50px auto;
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
}
.wrap .box1,
.box2,
.box3,
.box4,
.box5,
.box6 {
width: 100px;
height: 100px;
display: flex;
background-color: #f7f7f7;
margin-top: 60px;
box-shadow: inset 0 5px white, inset 0 -5px #bbb, inset 5px 0 #d7d7d7, inset -5px 0 #d7d7d7;
justify-content: space-around;
}
.wrap span {
display: block;
width: 25px;
height: 25px;
background-color: black;
border-radius: 50%;
}
.wrap .box1 span {
align-self: center;
}
.wrap .box2 {
justify-content: space-between;
}
.wrap .box2 span:nth-child(2) {
align-self: flex-end;
}
.wrap .box3 span:nth-child(2) {
align-self: center;
}
.wrap .box3 span:nth-child(3) {
align-self: flex-end;
}
.wrap .box4 {
justify-content: space-between;
}
.wrap .box4 .top {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.wrap .box5 {
justify-content: space-between;
}
.wrap .box5 .top {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.wrap .box5 span {
align-self: center;
}
.wrap .box6 {
justify-content: space-between;
}
.wrap .box6 .top {
display: flex;
flex-direction: column;
justify-content: space-between;
}
</style>
</head>
<body>
<div class="wrap">
<div class="box1">
<span></span>
</div>
<div class="box2">
<span></span>
<span></span>
</div>
<div class="box3">
<span></span>
<span></span>
<span></span>
</div>
<div class="box4">
<div class="top">
<span></span>
<span></span>
</div>
<div class="top">
<span></span>
<span></span>
</div>
</div>
<div class="box5">
<div class="top">
<span></span>
<span></span>
</div>
<span></span>
<div class="top">
<span></span>
<span></span>
</div>
</div>
<div class="box6">
<div class="top">
<span></span>
<span></span>
<span></span>
</div>
<div class="top">
<span></span>
<span></span>
<span></span>
</div>
</div>
</div>
</body>
</html>