Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Заголовок документа </title>
<style>
#container {
height:200px;
width: 230px;
place-items: center;
background-color: #ccc;
}
.flex {
display: flex;
flex-wrap: wrap;
}
div > div {
box-sizing: border-box;
border: 3px solid #ccc;
width: 50px;
display: flex;
align-items: center;
justify-content: center;
}
#box1{
background-color: #666;
min-height: 40px;
}
#box2{
background-color: #1c87c9;
min-height: 50px;
}
#box3{
background-color: #fff;
min-height: 40px;
}
#box4{