JSFiddle - React, Tailwind, and code Playground
by Cartmont
HTML
<header class="header">
<div class="header-section clearfix">
<div class="header-section-leftcolumn">
<a href="/index.php">Logo</a>
</div>
<div class="header-section-rightcolumn">
<ul>
<li><a href="/index.php">На главную</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="">Log in</a></li>
</ul>
</div>
</div>
</header>
CSS
.header {
background: #303030;
display: flex;
height: 60px;
width: 100%;
}
.header-section {
align-items: center;
display: flex;
flex-wrap: nowrap;
margin: 0 auto;
width: 800px;
}
.header-section-leftcolumn {
width: 150px;
}
.header-section-leftcolumn a:link,
.header-section-leftcolumn a:visited {
color: #48cfad;
font-family: 'Pacifico', cursive;
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: #37bc9b;
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: 150px;
text-align: right;
width: 650px;
}
.header-section-rightcolumn ul li {
display: inline-flex;
flex-wrap: nowrap;
}
.header-section-rightcolumn ul li a:link,
.header-section-rightcolumn ul li a:visited {
font-family: 'Open Sans', sans-serif;
font-weight: 400;
font-size: 13px;
color: #fefefe;
text-decoration: none;
padding: 8px 5px;
transition: all 0.25s ease-out;
-webkit-transition: all 0.25s ease-out;
-moz-transition: all 0.25s ease-out;
-o-transition: all 0.25s ease-out;
-ms-transition: all 0.25s ease-out;
}
.header-section-rightcolumn ul li a:active,
.header-section-rightcolumn ul li a:hover {
color: #37bc9b;
transition: all 0.25s ease-out;
-webkit-transition: all 0.25s ease-out;
-moz-transition: all 0.25s ease-out;
-o-transition: all 0.25s ease-out;
-ms-transition: all 0.25s ease-out;
}