JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<header class="start grid" style="background-image: url(img/3.jpg);">
<div class="header-content grid">
<h1>We can make yoer best web sites</h1>
<div class="header-buttons">
<a class="button" href="#">Go</a>
<a class="button button-grey" href="#">Read</a>
</div>
</div>
</header>
<div class="grid-menu">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="grid-parti grid">
<div class="grid-parti1 grid" style="background-image: url(img/prf/1.jpg);"><h2>item 1</h2></div>
<div class="grid-parti1 grid" style="background-image: url(img/prf/2.jpg);"><h2>item 2</h2></div>
<div class="grid-parti1 grid" style="background-image: url(img/prf/3.jpg);"><h2>item 3</h2></div>
<div class="grid-parti1 grid" style="background-image: url(img/prf/4.jpg);"><h2>item 4</h2></div>
<div class="grid-parti1 grid" style="background-image: url(img/prf/5.jpg);"><h2>item 5</h2></div>
<div class="grid-parti1 grid" style="background-image: url(img/prf/6.jpg);"><h2>item 6</h2></div>
<div class="grid-parti1 grid" style="background-image: url(img/prf/7.jpg);"><h2>item 7</h2></div>
<div class="grid-parti1 grid" style="background-image: url(img/prf/8.jpg);"><h2>item 8</h2></div>
<div class="grid-parti1 grid" style="background-image: url(img/prf/9.jpg);"><h2>item 9</h2></div>
</div>
<div class="grid-call">
<div class="grid-call1"></div>
</div>
<div class="grid-summ">
<div class="grid-summ1"><input type="text"></div>
<div class="grid-summ1"><input type="text"></div>
</div>
<script>new WOW().init();</script>
<script src="js/wow.min.js"></script>
<script src="js/main.js"></script>
</body>
CSS
*, *:before, *:after{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body
{
font-size: 16px;
min-width: 320px;
position: relative;
line-height: 1.75;
overflow-x: hidden;
}
input[type="text"] {
width: 25%;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
padding: 0.5%;
border: 2px solid #3fbaeb;
font-size: 120%;
}
.grid{
display: grid;
}
.grid-parti{
z-index: 1;
padding: 10px;
grid-template-columns: repeat(4, 1fr);
grid-gap: 10px;
}
.grid-parti1:before{
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(94, 91, 96, 0.65);
}
.grid-parti1:hover:before{
background-color: rgba(94, 91, 96, 0.8);
}
.grid-parti1{
z-index: 1;
min-height: 32vh;
color: white;
background-position: center;
background-size: cover;
align-content: center;
text-align: center;
padding: 10px;
position: relative;
transition: .5s ease;
cursor: pointer;
}
.grid-parti1:hover{
z-index: 1;
color: #3fbaeb;
}
.grid-parti1:nth-child(1){
grid-column: 1/3;
}
.grid-parti1:nth-child(5){
grid-column: 2/4;
}
.grid-parti1:nth-child(6){
grid-column: 4;
grid-row: 2/4;
}
.grid-call{
display: grid;
grid-template-columns: 1fr;
grid-column-gap: 15%;
grid-auto-rows: 100%;
margin-top: 6%;
text-align: center;
}
.grid-call1{
padding:1.5%;
}
.start
{
min-height: 100vh;
background-size: cover;
background-position: center;
position: relative;
}
.header-content{
color: white;
text-align: center;
align-content: center;
background-color: rgba(94, 91, 96, 0.8);
min-height: 100vh;
padding: 3% 7%;
}
h1{
font-size: 50px;
margin: 20px 0;
line-height: 1.5;
}
.button {
cursor: pointer;
text-decoration: none;
position: relative;
background: beige;
text-align: center;
display: inline-block;
border-radius: 5px;
padding: 10px 55px;
font-size: 20px;
margin: 20px;
color: white;
background: #55acee;
box-shadow: 0...