Adiciona Low cards desktop e mobile

This commit is contained in:
Carlos cristovao guerreiro scantbelruy 2022-10-12 11:48:09 -04:00
parent 762144022f
commit 2c8d6bbadb
6 changed files with 166 additions and 13 deletions

BIN
assets/imagens/Group.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
assets/imagens/coin 2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
assets/imagens/laptop 1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -94,44 +94,83 @@ body {
} }
.banner-quite { .banner-quite {
width: 1920PX;
height: 530PX;
background: #E0E0E0; background: #E0E0E0;
padding: 62px 72px 62px;
}
.banner-quite-wrapper {
display: grid; display: grid;
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, 1fr);
gap: 20px ; justify-content: center;
padding: 62PX 72PX 62PX; position: relative;
gap: 20px;
top: 140px;
} }
.imagem-quite { .imagem-quite {
width: 566px; max-width: 566px;
max-height: 530px;
display: flex; display: flex;
flex-direction: column;
align-items: center; align-items: center;
padding: 72px 39px 62px 0%;
} }
.banner-quite-imagem { .banner-quite-imagem {
display: block; display: block;
margin-bottom: 26px; margin-bottom: 26px;
width: 400PX;
height: 400PX;
} }
.low-card {
display: grid;
gap: 20px;
padding: 191px 32px 66px;
grid-template-columns: repeat(4, 1fr);
background: #FFFFFF;
}
.low-cards {
display: flex;
flex-direction: column;
align-items: center;
max-width: 432px;
background: #FFFFFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.low-card-imagem {
display: block;
margin-bottom: 14px;
}
.low-card-texto {
max-width: 368px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: center;
}
@media screen and (maw-width: 1400px) { @media screen and (maw-width: 1400px) {
.imagem-quite { .imagem-quite {
flex-direction: column; flex-direction: column;
} }
} }
@media screen and (max-width: 566px) { @media screen and (max-width: 1200px) {
.banner-quite { .banner-quite {
grid-template-columns: 1fr; grid-template-columns: 1fr;
padding: 36px 26px; padding: 36px 26px;
} }
} }
@media screen and (max-width: 768px) {
.low-card {
grid-template-columns: 1fr;
padding: 36px 26px;
}
}
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
.top-card { .top-card {
grid-template-columns: 1fr; grid-template-columns: 1fr;

114
index.html Normal file
View File

@ -0,0 +1,114 @@
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preconnect" href="https://fonts.googleapis.com">
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Desafio01</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/challenge-landing-page-carlos-cristovao/assets/styles/main.css" />
</head>
<body>
<header class="page-header">
<a href="/">
<img class="header-logo" src="/challenge-landing-page-carlos-cristovao/assets/imagens/Logo-M3Academy 1.png" alt="logo m3" />
</a>
</header>
<main>
<section>
<img class="main-banner main-banner-desktop" src="/challenge-landing-page-carlos-cristovao/assets/imagens/baner logo.png" alt="banner main desktop" />
<img class="main-banner main-banner-mobile" src="/challenge-landing-page-carlos-cristovao/assets/imagens/banner mobile.png" alt="banner main mobile" />
</section>
<section class="top-infocard">
<div class="infocard text">
<h2 class="text-primario">Lorem ipsum</h2>
<h1 class="text-secundario">dolor sit amet</h1>
<p class="text-paragraph">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
Curabitur ut tortor sed lacus egestas vulputate vel sit amet velit. Nulla suscipit magna dui.
</p>
</div>
<img class="imagem-vetor" src="/challenge-landing-page-carlos-cristovao/assets/imagens/banner emoji.png" alt="banner emoji" />
</section>
<section class="top-card">
<div class="top-cards">
<img class="top-card-imagem" src="/challenge-landing-page-carlos-cristovao/assets/imagens/shop 1.png" alt="shop imagem" />
<p class="top-texto">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
<div class="top-cards">
<img class="top-card-imagem" src="/challenge-landing-page-carlos-cristovao/assets/imagens/shopping-bag (1) 1.png" alt="bag imagem" />
<p class="top-texto">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
<div class="top-cards">
<img class="top-card-imagem" src="/challenge-landing-page-carlos-cristovao/assets/imagens/coin 1.png" alt="coin imagem" />
<p class="top-texto">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
</section>
<section class="banner-quite">
<div class="imagem-quite">
<img class="banner-quite-imagem" src="/challenge-landing-page-carlos-cristovao/assets/imagens/Rectangle 13.png" alt="banner desktop01" />
</div>
<div class="imagem-quite">
<img class="banner-quite-imagem" src="/challenge-landing-page-carlos-cristovao/assets/imagens/Rectangle 16.png" alt="banner desktop02 " />
</div>
<div class="imagem-quite">
<img class="banner-quite-imagem" src="/challenge-landing-page-carlos-cristovao/assets/imagens/Rectangle 17.png" alt="banner desktop03 " />
</div>
</section>
<section class="low-card">
<div class="low-cards">
<img class="low-card-imagem" src="" alt="" />
<p class="">
</p>
</div>
<div class="low-cards">
<img class="low-card-imagem" src="" alt="" />
<p class="">
</p>
</div>
<div class="low-cards">
<img class="low-card-imagem" src="" alt="" />
<p class="">
</p>
</div>
<div class="low-cards">
<img class="low-card-imagem" src="" alt="" />
<p class="">
</p>
</div>
</section>
</main>
</body>
</html>