<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Study.js</title>
<link rel="stylesheet" href="mystyle.css">
</head>
<body>
<header class="header">
<div class="container">
<div class="header__inner">
<nav class="nav">
<ul>
<li>
<a id="fixing_link" class="nav_link" href="http://127.0.0.1:5500/index.html">Home</a>
</li>
<li>
<a class="nav_link" href="http://127.0.0.1:5500/index.html">Contacst</a>
</li>
<li>
<a class="nav_link" href="http://127.0.0.1:5500/index.html">Services</a>
</li>
<li>
<a class="nav_link" href="http://127.0.0.1:5500/index.html">Local</a>
</li>
</ul>
</nav>
</div>
</div>
</header>
</body>
</html>
body {
margin: 0;
font-family: 'Raleway', sans-serif;
font-size: 14px;
color: #6c7279;
font-smoothing: antialiased;
background-color: #fff;
min-height: 100%
}
html {
height: 100%;
}
*,
*:before,
*:after {
box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6 {
margin: 0;
}
p {
margin: 0 0 10px;
}
.container {
width: 100%;
max-width: 1170px;
margin: 0 auto;
}
/* HEADER */
.header{
width: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 1000;
background-color: #202020;
}
.header__inner {
display: flex;
justify-content: center;
}
.nav ul {
display: flex; /* Сделать обьекти в линию */
text-transform: uppercase; /* Nice text */
}
.nav_link {
text-decoration: none; /* Убрать подчеркивания */
margin-left: 50px;
}
li {
list-style-type: none; /* Убрать крапочки */
}
.nav_link:first-child {
margin-left: 0;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.