JSFiddle - React, Tailwind, and code Playground
HTML
<header class="header">
<div class="container">
<div class="header__nav">
<div class="header__logo">
<button class="header__buter-menu"></button>
<a class="header__link-logo" href="#">
<img class="header__img" src="img/logo.jpg" alt="logo" >
</a>
</div>
<form class="header__form" action="">
<input class="header__search" type="search" placeholder="Enter your vehicle">
<button class="header__button">
<!--<svg class="header__icon">
<use href="icon/search.svg#root"></use>
</svg>-->
</button>
<div class="header__status"></div>
</form>
<ul class="personal__inform">
<li class="personal__status ">
<div class="header__icon"></div>
<p class="personal_descr">Buyer Power</p>
<p class="personal__pwr">$15.546</p>
</li>
<li class="personal__status ">
<div class="header__icon"></div>
<p class="personal_descr">Watchlist</p>
<p class="personal__pwr">12</p>
</li>
<li class="personal__status">
<div class="header__icon"></div>
<p class="personal_descr">Bids Status</p>
<p class="personal__pwr">0 1</p></li>
<li class="personal__status">
<div class="header__icon"></div>
<p class="personal_descr ">Hello, <span> Jonh</span></p>
<p class="personal__pwr"></p>
</li>
</ul>
</div>
<div...
SCSS
* {
margin: 0;
padding: 0;
box-sizing: border-boxs;
}
.container {
min-width: 375px;
max-width: 1600px;
margin: 0 auto;
}
.header__logo{
display: flex;
align-items: center;
}
.header__img{
width: 110px;
height: 30px;
}
.header__nav{
background: #2D6D97;
display: flex;
justify-content: space-between;
min-height: 60px;
padding: 10px 31px 0 23px;
}
.header__buter-menu{
width: 24px;
height: 24px;
background:#2D6D97;
position: relative;
border: none;
&::after{
content: '';
width: 18px;
height: 3px;
position: absolute;
border-radius: 1px;
top: 2px;
left: 1px;
background: white;
box-shadow: 0 6px 0 0 white, 0 12px 0 0 white;
}
}
.header__form{
width: 580px;
height: 40px;
align-items: center;
position: relative;
/*outline: 1px solid black;*/
}
.header__search{
width: 580px;
height: 40px;
border-radius: 4px;
border: none;
position: absolute;
}
.header__button{
width: 67px;
height: 40px;
background: #017DD6;
background-image: url(../icon/search.svg);
background-repeat: no-repeat;
background-position: center center;
background-size: 18px 18px;
border-radius: 4px;
border: none;
position: absolute;
top: 0;
right: -1px;
}
.header__icon{
width: 24px;
height: 24px;
display: block;
background-color: #00000029;
background-repeat: no-repeat;
border-radius: 50%;
margin-right: 10px;
}
.personal__inform{
list-style: none;
display: flex;
/*width: 500px;*/
/*flex-basis: 40%;*/
}
.personal__status{
display: flex;
margin-left: 30px;
&:first-child{
margin-left: 0;
}
}