JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<link href='https://fonts.googleapis.com/css?family=Roboto&subset=latin,cyrillic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/style.css">
<title>Nerds</title>
</head>
<body>
<header>
<div class="container">
<div class="logo">
<a href="#"><img src="../nerd/img/logo.png" alt="logo"></a>
</div>
<ul class="menu">
<a href="#"><li>Студия</li></a>
<a href="#"><li>Клиенты</li></a>
<a href="#"><li>Магазин</li></a>
<a href="#"><li>Контакты</li></a>
</ul>
<div class="basket">
<a href="#" class="basket-enter">Корзина</a>
</div>
</div>
</header>
</body>
</html>
CSS
html, body{
padding:0;
margin:0;
font-family: 'Roboto', sans-serif;
}
.container {
width: 900px;
padding: 0 10px;
min-height: 50px;
margin: 0 auto;
}
.clearfix {
content: '';
display: table;
clear: both;
}
/* HEADER */
header {
width: 900px;
padding-top: 28px;
background: #eeeeee;
}
.logo {
float: left;
width: 140px;
height: 55px;
margin-right: 80px;
}
ul.menu {
margin-top: 10px;
}
.menu {
float: left;
padding: 0;
margin-bottom: 45px;
}
.menu li {
display: inline-block;
list-style: none;
margin-top: 15px;
margin-right: 40px;
}
.menu a {
display: block;
font: 14px/30px 'Roboto', sans-serif;
}