CSS
9
Вклад в тег
<div class="main">
<div class="main-gourmet"></div>
<div class="main-carhartt"></div>
<div class="main-adidas"></div>
<div class="main-deep"></div>
<div class="main-palace"></div>
<div class="main-nike"></div>
</div>
.main {
height: 100vh;
display: grid;
grid-template-areas:
"gourmet gourmet carhartt"
"gourmet gourmet adidas"
"deep palace nike";
grid-template-columns: 3fr 3fr 3fr;
grid-template-rows: 3fr 3fr 4fr;
grid-gap: 15px;
background-color: green;
}
.main-gourmet {
grid-area: gourmet;
opacity: 0.9;
background-color: red;
}
.main-carhartt {
grid-area: carhartt;
opacity: 0.9;
background-color: gray;
}
.main-adidas {
grid-area: adidas;
background-blend-mode: multiply, ;
background-color: black;
}
.main-deep {
grid-area: deep;
opacity: 0.9;
background-color: white;
}
.main-palace {
grid-area: palace;
opacity: 0.9;
background-color: black;
}
.main-nike {
grid-area: nike;
opacity: 0.9;
background-color: red;
}