<div class="tabs" id="tabs">
<div class="tabs-header">
<div class="tab-title"><a href="#" class="tab-link">One</a></div>
<div class="tab-title"><a href="#" class="tab-link">Two</a></div>
<div class="tab-title"><a href="#" class="tab-link">Three</a></div>
</div>
<div class="tabs-body">
<p class="tabs-content d-block">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cum reprehenderit, similique qui! Ab suscipit facilis animi. Hic recusandae quaerat quasi. Esse aperiam labore sapiente in. Earum consequuntur numquam repellendus similique?</p>
<p class="tabs-content">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consequatur est natus suscipit repellat unde ex molestiae impedit molestias! Distinctio laborum maxime ut quo quae, sapiente cumque eius similique culpa adipisci.</p>
<p class="tabs-content">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptates ipsam ratione eligendi sequi vitae eius voluptatum, deserunt natus non iusto quasi error deleniti, eos facere tenetur possimus aliquid adipisci provident!</p>
</div>
</div>
var tabs = document.getElementById('tabs');
tabs.querySelectorAll('.tab-link').style = 'color:red;';
<code lang="html">
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<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">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap" rel="stylesheet"> <!--roboto-->
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/media.css">
<title>
Boots4 project
</title>
</head>
<body>
<header>
<nav class="navbar navbar-expand-md header-nav"> <!--навигация-->
<div class="container-fluid">
<a href="#" class="logo">
LOGOTYPE
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive">
<span class="navbar-toggler-icon">
<i class="fas fa-bars"></i>
</span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a href="#" class="nav-link">Home</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">About</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">Servicing</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">Portfolio</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">Blog</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">
Contact us
</a>
</li>
</ul>
</div>
<form class="form-inline my-2 my-lg-0 search">
<input class="form-control-sm mr-sm-2" type="search" placeholder="Search" aria-label="search">
<button class="btn btn-md align-middle btn-outline-secondary btn-search" type="submit">
<i class="fas fa-search"></i>
</button>
</form>
</div>
</nav> <!--end навигация-->
<!-- header-main -->
<section class="header-main">
<div class="headline">
<h1 class="title">
Web development project
</h1>
<p class="sub_title">
Very suitable to support all web development projects
</p>
<button type="button" class="btn border-btn">Our services</button>
<button type="button" class="btn full-btn">Hire is now</button>
</div>
</section>
</header>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
</body>
</html>
</code>
@import url('../css/fonts.css');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 100%;
height: 100vh;
}
header {
width: 100%;
height: 100vh;
}
.header-nav {
width: 100%;
height: 10%;
}
.header-main {
color: #fff;
background: url(../img/bg/header-bg.png) no-repeat center;
background-size: cover;
width: 100%;
height: 90%;
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr;
justify-items: center;
align-items: center;
}
.logo {
font-size: 25px;
font-weight: 700;
}
nav a {
color: #000;
font-size: 20px;
font-weight: 600;
margin-left: 45px;
}
.header-main {
text-align: center;
}
.header-main .title {
font-size: 70px;
font-weight: 600;
margin-bottom: 30px;
}
.header-main .sub_title {
font-size: 22px;
}
.header-main .full-btn {
margin-top: 50px;
}
.header-main .border-btn {
margin-top: 50px;
}
.full-btn {
font-family: 'Roboto', sans-serif;
border: none;
border-radius: 0;
background: #008A7B;
text-transform: uppercase;
font-size: 20px;
font-weight: 700;
width: 200px;
height: 60px;
margin: 20px;
color: #fff;
}
.border-btn {
font-family: 'Roboto', sans-serif;
border: 3px solid #fff;
text-transform: uppercase;
font-size: 20px;
font-weight: 700;
width: 200px;
height: 60px;
margin: 20px;
color: #fff;
}
@media only screen and (max-width:1450px){
nav a{
font-size: 18px;
margin-left:20px;
}
} /*1450px*/
@media only screen and (max-width:1010px){
nav a{
margin-left:15px;
}
.search{
display: none;
}
} /*1010px*/
@media only screen and (max-width:840px){
.logo{
font-size: 18px;
}
nav a{
margin-left:10px;
font-size: 15px;
}
.header-main{
.title{
font-size: 50px;
}
.full-btn{
margin-top:20px;
width: 150px;
height: 50px;
font-size: 15px;
}
.border-btn{
margin-top:20px;
width: 150px;
height: 50px;
font-size: 15px;
}
}
} /*840px*/
@media only screen and (max-width:490px){
.header-main{
.full-btn{
display: block;
width: 90%;
}
.border-btn{
display: block;
width: 90%;
}
}
} /*490px*/