Adiciona o bottom infocard desktop e mobile

This commit is contained in:
Naian Felix dos Santos 2022-10-08 17:52:39 -03:00
parent d8571ce439
commit 7a524af3f9
3 changed files with 75 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 KiB

View File

@ -120,6 +120,33 @@ body {
line-height: 24px;
}
.bottom-infocard {
display: flex;
align-items: center;
justify-content: center;
padding: 142px 0 180px;
}
.bottom-infocard-image {
margin-right: 40px;
}
.bottom-infocard-text {
max-width: 550px;
}
.bottom-infocard-title {
margin-bottom: 18px;
line-height: 1;
font-size: 32px;
font-weight: 600;
}
.bottom-infocard-description {
line-height: 24px;
font-size: 16px;
}
@media screen and (max-width: 414px) {
.main-banner-desktop, .middle-banner-desktop {
display: none;
@ -152,6 +179,7 @@ body {
.bottom-card-description {
font-size: 14px;
}
}
@ -173,14 +201,37 @@ body {
margin-bottom: 20px;
font-size: 28px;
}
}
.top-inforcard-image {
width: 100%;
max-width: 596px;
max-width: 240px;
}
.bottom-infocard {
flex-direction: column;
padding: 80px 0 136px;
}
.bottom-infocard-image {
width: 100%;
max-width: 596px;
margin:0 0 50px;
}
.bottom-infocard-text {
padding: 26px;
}
.bottom-infocard-title {
font-size: 24px;
}
}
@media screen and (min-width: 769px) and (max-width: 1200px) {
.top-cards {
grid-template-columns: repeat(2, max-content);
@ -197,7 +248,15 @@ body {
.top-infocard-text {
max-width: 520px;
margin-right: 70px;
}
}
.bottom-infocard-image{
max-width: 480px;
}
.bottom-infocard-text {
max-width: 400px;
}
}

View File

@ -2,6 +2,8 @@
<html lang="pt-br">
<head>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@ -11,7 +13,7 @@
<title>M3 Lading Page</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./assets/styles/main.css">
</head>
@ -86,6 +88,17 @@
</div>
</div>
</section>
<section class="bottom-infocard">
<img class="bottom-infocard-image" src="./assets/images/bottom-infocard-image.png" alt="Banner do Inforcard de Baixo">
<div class="bottom-infocard-text">
<h2 class="bottom-infocard-title">Lorem ipsum dolor sit amet</h2>
<p class="bottom-infocard-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vulputate sapien non libero faucibus interdum. In eget tincidunt ipsum.
Quisque a tellus at lectus blandit tempor. Ut tristique auctor mi eget hendrerit. Curabitur venenatis felis vitae sagittis venenatis.
Donec finibus turpis vitae lectus interdum rutrum vitae sed augue.
</p>
</div>
</section>
</main>
</body>
</html>