JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--bootstrap
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">-->
<!-- Icon иконки -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<!-- fonts -->
<link href="https://fonts.googleapis.com/css?family=Maven+Pro:400,700,900&display=swap" rel="stylesheet">
<!-- normalize -->
<link rel="stylesheet" type="text/css" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
<title>Misocial</title>
</head>
<body>
<!-- header -->
<header>
<div class="container">
<div class="heading">
<nav>
<a href="#" class="logo">
<img src="img/logo.png">
MISOCIAL
</a>
<ul class="nav__list">
<li class="nav-item">
<a href="#">Home</a>
</li>
<li class="nav-item">
<a href="#">Why MISOCIAL</a>
</li>
<li class="nav-item">
<a href="#">Features</a>
</li>
<li class="nav-item">
<a href="#">Articles</a>
</li>
<li class="nav-item">
<a href="#">Pricing</a>
</li>
</ul>
<button class="header__btn">GET STARTED </button>
</nav>
</div>
<div class="offer">
<span>SOCIAL MARKETING & ANALYTICS</span>
<h1>Pricing Table</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed d</p>
</div>
</div>
</header>
</body>
</html>
CSS
*{
box-sizing: border-box;
}
body{
font-family: 'Maven Pro', sans-serif;
}
.container{
max-width: 95%;
margin: 0 auto;
}
/*header*/
header{
height: 100vh;
background: #787cd4 url(../img/bg.jpg) no-repeat center / cover;
}
nav{
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 20px;
}
.logo{
color: white;
text-decoration: none;
font-size: 30px;
font-weight: 600;
letter-spacing: 4px;
display: flex;
align-items: center;
}
.logo img{
margin-right: 15px;
}
.nav__list {
list-style: none;
display: flex;
margin: 0;
margin-left: auto;
margin-right: 42px;
padding: 0;
}
.nav-item{
padding: 0 10px;
}
.nav-item::after{
content: '';
display: block;
width: 100%;
background: white;
height: 2px;
transition: 0.2s;
transform: scale(0);
margin-top: 8px;
}
.nav-item:hover::after{
transform: scale(1);
}
.nav-item a{
color: white;
text-decoration: none;
padding: 0 10px;
}
.header__btn{
background: none;
border: 2px solid white;
border-radius: 500px;
color: white;
font-size: 12px;
padding: 12px 20px;
cursor: pointer;
outline: initial;
transition: 0.2s;
}
.header__btn:hover{
background: #787cd4;
}
.offer {
color: white;
text-align: center;
}
.offer span{
font-size: 14px;
}
.offer h1{
font-size: 86px;
margin: 0;
}