JSFiddle - React, Tailwind, and code Playground
by developersvil
HTML
<!DOCTYPE html>
<html lang="ru">
<head>
<title>Задание</title>
<meta charset="utf-8">
<link rel="stylesheet" href="css/style.css">
<link href="fonts/MyriadPro/stylesheet.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="columns-container">
<!--Первая колонка-->
<div class="column column1">
<div class="middle">
<div class="krug"></div>
</div>
</div>
<!--Вторая колонка-->
<div class="column column2">
.column2
Вторая колонка
</div>
<div class="clearfix"></div>
</div>
</div>
</body>
</html>
CSS
.container {
max-width: 1920px;
min-width: 320px;
max-height: 1811px;
width: 100%;
height: 100%;
}
.columns-container {
padding: 10px;
background-color: #ecf0f1;
}
.column {
min-height: 100%;
height: auto;
max-height: 1635px;
padding: 10px;
color: white;
background-color: #3498db;
border: 2px solid #34495e;
}
.column1 {
float: left;
width: 33%;
display: flex;
align-items: center;
justify-content: center;
}
.column2 {
float: right;
width: 51%;
}
.room {
display: flex;
align-items: center;
justify-content: center;
}
.krug {
background-color: #3D6CB0;
border-radius: 50% 50%;
width: 11em;
height: 11em;
border: 0.7em solid #ffffff;
box-shadow:
0 0 0 2px #3D6CB0;
}
.middle {
display: flex;
align-items: center;
justify-content: center;
}
.column1.middle {
max-width: 40%;
padding: 5em 5em 5em 5em;
border: 1px dotted black;
}
.clearfix {
height: 0px;
clear: both;
background-color: #e74c3c;
}