Hello, I made a car website today i use index.html and style.css
here you can see the index.html
Buy the best
Quality Cars
here you can see the style.scc
*{
margin: 0;
padding: 0;
font-family: sans-serif;
box-sizing: border-box;
}
body{
background: rgba(0, 0, 0, 0.5) url('car.jpg') center center fixed;
background-blend-mode: darken;
background-size: cover;
background-position: center ;
}
.main{
padding: 0 8%;
}
nav{
padding: 24px 0;
display: flex;
align-items: center;
flex-wrap: wrap;
}
.logo h3{
width: 150px;
font-size: 30px;
cursor: pointer;
color: yellow
}
.nav-links{
display:flex;
flex: 1;
align-items: center;
justify-content: space-between;
}
.nav-links a{
margin-left: 26px;
text-decoration: none;
color: #fff;
transition: 2s;
}
.nav-links a:hover{
padding:11px;
background-color: #000;
}
.nav-links .btn{
background-color: yellow;
color: #000;
padding: 10px 28px;
border-radius: 5px;
}
.content{
margin-top: 150px;
margin-left: 150px;
color: #fff;
}
.content h1{
font-size: 60px;
}
.search{
background-color: #fff;
width: fit-content;
margin: 20px 0;
padding: 20px 20px;
display: flex;
align-items: center;
}
.search input{
background-color: transparent;
width: 500px;
border: 0;
outline: none;
}
here is the picture of website


Thanks….