JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<header>
<div class="container">
<div class="head clearfix">
<a href="#" class= "picture"><img src="img/logo.png" alt="" class="logo"></a>
<div class="tel">8 (800) <span class="telColor">555 - 55 - 55</span> <span class = "schedule">Ежедневно с 9 - 00 до 19 - 00</span></div>
<div class="shop">
<img src="img/shop.png" alt="" class ="img_shop">
<span class="price basket">Корзина</span>
<span class="price">Товаров: 0</span>
<span class="price">На сумму:0</span>
<span class="price checkout">Оформить заказ</span>
</div>
</div>
<nav>
<ul class="menu_list">
<li>
<a href="#">Главная</a>
</li>
<li>
<a href="#">Новые поступления</a>
</li>
<li>
<a href="#">Акции </a>
</li>
<li>
<a href="#">Аксесуары</a>
</li>
<li>
<a href="#">Оплата и доставка</a>
</li>
<li>
<a href="#">Статьи</a>
</li>
<li>
<a href="#">О нас</a>
</li>
</ul>
</nav>
<div class="menu_second">
<ul>
<li>
<a href="#">очищение</a>
</li>
<li>
<a href="#"><span>для лица</span><br> classic</a>
</li>
<li>
<a href="#"><span>для лица</span><br> premium</a>
</li>
<li>
<a href="#">для тела</a>
</li>
</ul>
</div>
</div>
</header>
<section>
<div class="container">
dasd
</div>
</section>
<section>
<div class="container">
asdasdas
</div>
</section>
<section>
<div class="container">
asdasd
</div>
</section>
<footer>
<div class="container">
</div>
</footer>
</body>
CSS
*{
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
.container {
width: 100%;
height: 100%;
max-width: 1000px;
margin: 0 auto;
}
header {
height: 340px;
background: #DDE6F0;
}
a {
text-decoration: none;
}
.head {
width: 100%;
}
.logo{
padding-top: 51px;
padding-left: 10px;
}
.picture {
float: left;
}
.tel {
float: left;
margin-top: 120px;
margin-left: 70px;
font-size: 25pt;
font-weight: bold;
position: relative;
width: 378px;
}
.telColor {
color: #006AB3;
font-size: 30pt;
position: absolute;
top: -32px;
right: 45px;
}
.schedule {
font-size: 11pt;
}
.shop {
float: left;
border-left: 1px solid #B8C0C8;
padding-left: 26px;
width: 144px;
margin-top: 64px;
position: relative;
}
.img_shop {
position: absolute;
top: -15px;
right: 4px;
}
.price {
display: block;
font-size: 14pt;
}
.basket {
color: #4B88C0;
padding-bottom: 20px;
}
.checkout {
color: #4B88C0;
padding-top: 16px;
}
nav {
margin-top: 21px;
}
.menu_list {
width: 100%;
padding: 0;
margin: 0;
}
.menu_list li {
list-style-type: none;
display: inline;
border-right: 1px solid #2A6C96;
width: 100%;
background: #2BA3D6;
padding: 11px;
}
.menu_list li:hover {
background: #167CBA;
width: 100%;
}
.menu_list li a {
color: white;
font-size: 16pt;
font-weight: bold;
}
.menu_second {
height: 60px;
margin-top: 40px;
padding: 0;
}
.menu_second ul {
padding: 0;
display: inline;
}
.menu_second li {
list-style-type: none;
display: inline;
background: #106FB1;
padding: 23px;
border: 1px solid black;
padding-top: 37px;
text-align: center;
padding-bottom: 15px;
}
.menu_second li a {
display: inline-block;
font-size: 18pt;
font-weight: bold;
text-transform: uppercase;
color: #DDE6F0;
}
.menu_second span {
font-size: 14pt;
text-transform: lowercase;
font-weight: normal;
}
.clearfix:after {
content: " ";
display: table;
clear: both;
}