Слишком ли кривая вёрстка получается (в плане кода)? И сложно ли будет делать адаптив потом?
http://htmlpreview.github.io/?https://github.com/Roderen/travell/blob/main/new1%20-%20%D0%BA%D0%BE%D0%BF%D0%B8%D1%8F/index.html Сложно ли будет потом делать адаптив?
<header>
<nav>
<ul>
<li><a href="#"><img src="img/logo.png" alt="Logo" class="logo"></a></li>
<div class="line line_l"></div>
<li><a href="#">Главная</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="#">Контакты</a></li>
</ul>
</nav>
<div class="list">
<a href="#" class="contact">
<img src="img/contact.png" alt="Contact"></img>
<span>Связаться с нами</span>
</a>
<div class="line line_r"></div>
<a href="#" class="log_in">
<img src="img/join.png" alt="Log-in"></img>
<span>Войти в сервис</span>
</a>
</div>
</header>
<img src="img/photo-header.png" class="header_img"></img>
<div class="header_text_img_btn">
<h1 class="header_text">Снижаем спред и комиссию<br/>Российских брокеров<br/><span class="color_text_header">с лицензией ЦБ РФ</span></h1>
<div class="reg">
<a href="#"><img src="img/user.png" alt="User">
<span>Регистрация</span></a>
</div>
</div>
/*Обнуление стилей*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
outline: none;
}
ul, li {
list-style: none;
}
a {
text-decoration: none;
}
input {
padding: 0;
border: 0;
border-width: 0;
}
/*Начало стилей*/
html {
width: 1920px;
}
header {
display: flex;
align-items: center;
justify-content: space-between;
}
nav ul, .contact, .log_in, .list {
display: flex;
align-items: center;
}
nav ul li {
font-family: Uni Neue;
font-style: normal;
font-weight: 500;
font-size: 16px;
line-height: 15px;
letter-spacing: 0.464286px;
margin-right: 24px;
}
nav ul li:first-child {
margin-right: 0px;
}
nav ul li:last-child {
margin-right: 0px;
}
nav ul li a {
color: #000;
}
.logo {
margin-left: 41px;
margin-right: 54px;
}
.line {
border-left: 1px solid #E9E9E9;
height: 80px;
}
.line_l {
margin-right: 40px;
}
.line_r {
margin-right: 20px;
}
.contact, .log_in {
font-family: Uni Neue;
font-style: normal;
font-weight: 500;
font-size: 16px;
line-height: 15px;
letter-spacing: 0.464286px;
}
.contact {
margin-right: 36px;
}
.contact img {
margin-right: 12px;
}
.contact, .log_in {
color: #E81E1E;
}
.log_in {
margin-right: 20px;
border: 2px solid #E81E1E;
border-radius: 6px;
width: 170px;
padding: 8px 0px;
}
.log_in img {
margin-left: 8px;
margin-right: 12px;
}
.header_img {
width: 100%;
}
.color_text_header {
color: #E81E1E;
}
.header_img {
position: relative;
}
.header_text_img_btn {
position: absolute;
left: 372px;
top: 200px;
}
.header_text {
font-family: Uni Neue;
font-style: normal;
font-weight: 500;
font-size: 42px;
line-height: 56px;
}
.reg {
background-image: url(file:///D:/web/new1/img/reg.png);
background-repeat: no-repeat;
font-family: Uni Neue;
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 14px;
padding: 14px 33px 16px 27px;
margin-top: 65px;
margin-left: 3px;
}
.reg a {
color: #fff;
}
.reg img {
float: left;
margin-right: 11px;
}