Adiciona o bottom infocard deskto e mobile baixo

This commit is contained in:
Lorena Camila Coelho Máximo 2022-10-12 21:21:17 -04:00
parent c9ed81769a
commit 7d29226537
3 changed files with 73 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 KiB

View File

@ -123,6 +123,52 @@ body {
text-align: center;
}
.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;
font-weight: 600;
font-size: 32px;
line-height: 1;
}
.bottom-infocard-description {
font-size: 16px;
line-height: 24px;
}
.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: 0 26px;
}
.bottom-infocard-title {
font-size: 24px;
}
@media screen and (max-width: 414px) {
@ -205,4 +251,12 @@ body {
max-width: 520px;
margin-right: 70px;
}
.bottom-infocard-image {
max-width: 480px;
}
.bottom-infocard-text {
max-width: 400px;
}
}

View File

@ -12,7 +12,7 @@
<title>M3 Landing Page</title>
<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="stylesheet" href="./assets/styles/main.css" />
</head>
@ -127,6 +127,22 @@
</div>
</section>
<section class="bottom-infocard">
<img class="bottom-infocard-image" src="/assets/images/bottom-info-card-image.png"
alt="Banner do Infocard 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>
</body>
</html>