JSFiddle - React, Tailwind, and code Playground
HTML
<header class="header">
<div class="header-section clearfix">
<div class="header-section-leftcolumn">
<a href="/index.php">Заголовок</a>
</div>
<div class="header-section-rightcolumn">
тут будет навигация
</div>
</div>
</header>
CSS
.header {
align-items: center;
background: #303030;
display: flex;
height: 60px;
justify-content: center;
width: 100%;
}
.header-section {
display: flex;
margin: 0 auto;
width: 500px;
}
.header-section-leftcolumn {
width: 200px;
}
.header-section-leftcolumn a:link,
.header-section-leftcolumn a:visited {
color: #fc6e51;
font-size: 28px;
font-weight: 400;
text-decoration: none;
transition: all 0.25s ease-out;
-moz-transition: all 0.25s ease-out;
-ms-transition: all 0.25s ease-out;
-o-transition: all 0.25s ease-out;
-webkit-transition: all 0.25s ease-out;
}
.header-section-leftcolumn a:active,
.header-section-leftcolumn a:hover {
color: #e9573f;
transition: all 0.25s ease-out;
-moz-transition: all 0.25s ease-out;
-ms-transition: all 0.25s ease-out;
-o-transition: all 0.25s ease-out;
-webkit-transition: all 0.25s ease-out;
}
.header-section-rightcolumn {
margin-left: 200px;
text-align: right;
width: 300px;
}