JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="css/style.css">
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<div class="page">
<header class="header">
<div class="header__shadow"></div>
<div class="header__left">
<div class="rectangle__red"></div>
</div>
<nav class="header-nav">
<div class="header__top__nav">
<ul class="header__top__list-nav">
<li class="header__top__nav-item">
<a class="header-top__link" href="#"> Для дома</a>
</li>
<li class="header__top__nav-item">
<a class="header-top__link" href="#">Для бизнеса</a>
</li>
<li class="header__top__nav-item">
<a class="header-top__link" href="#">О нас</a>
</li>
</ul> <!--"header__top__list-nav-->
<ul class="header__list-connection">
<li class="list-connection__item">
<a class="header-top__link connection feedback" href="#">Обратная связь</a>
</li>
<li class="list-connection__item">
<a class="header-top__link connection number" href="#">+7 499 941 0 755</a>
</li>
</ul> <!--header__list-connection-->
</div> <!--HEADER__TOP__NAV-->
<div class="bottom-nav">
<ul class="bottom-nav__link-list">
<li class="bottom-nav__link__item">
<a class="bottom-nav__link-list__item" href="#">Услуги Москва</a>
</li>
<li class="bottom-nav__link__item">
<a class="bottom-nav__link-list__item" href="#">Услуги Подмосковье</a>
</li>
<li...
CSS
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
:focus {
outline: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
-webkit-appearance: none;
-moz-appearance: none;
}
input[type=search] {
-webkit-appearance: none;
-moz-appearance: none;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
textarea {
overflow: auto;
vertical-align: top;
resize: vertical;
}
audio,
canvas,
video {
display: inline-block;
*display: inline;
*zoom: 1;
max-width: 100%;
}
audio:not([controls]) {
display: none;
height: 0;
}
[hidden] {
display: none;
}
html {
font-size: 100%; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
-ms-text-size-adjust: 100%; /* 2 */
}
a:focus {
outline: thin dotted;
}
a:active,
a:hover {
outline: 0;
}
img {
border: 0; /* 1 */
-ms-interpolation-mode: bicubic; /* 2 */
}
figure {
...