Adiciona o infocard de baixo desktop e mobile

This commit is contained in:
Amanda de Almeida Fonseca 2022-10-11 19:23:02 -03:00
parent 8048e3f4f2
commit 8ccd0014b2
2 changed files with 88 additions and 1 deletions

View File

@ -175,6 +175,32 @@
</figcaption>
</figure>
</div>
<section class="bottom-infocards">
<div class="bottom-infocard">
<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>
</div>
<img
class="bottom-infocard-desktop"
src="./assets/image/InfocardBottomImageDesktop.png"
alt=""
/>
<img
class="bottom-infocard-mobile"
src="./assets/image/InfocardBottomImageMobile.png"
alt=""
/>
</section>
</main>
</body>
</html>

View File

@ -125,7 +125,7 @@ body {
display: flex;
align-items: center;
justify-content: center;
padding: 197px 0 108px;
padding: 197px 0 54px;
gap: 16px;
}
@ -150,6 +150,35 @@ body {
line-height: 24px;
}
.bottom-infocards {
display: flex;
flex-direction: column;
align-items: center;
gap: 50px;
padding: 54px 0 116px;
}
.bottom-infocard-text {
max-width: 28%;
text-align: center;
}
.bottom-infocard-title {
font-size: 32px;
line-height: 39px;
font-weight: 600;
}
.bottom-infocard-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.bottom-infocard-desktop {
max-width: 70%;
}
@media screen and (min-width: 1025px) {
/* Corpo da pagina */
@ -157,6 +186,10 @@ body {
.main-banner-mobile {
display: none;
}
.bottom-infocard-mobile {
display: none;
}
}
@media screen and (max-width: 1024px) {
@ -245,4 +278,32 @@ body {
width: 82%;
font-size: 14px;
}
.bottom-infocard-desktop {
display: none;
}
.bottom-infocard-mobile {
width: 100%;
}
.bottom-infocards {
flex-direction: column-reverse;
}
.bottom-infocard {
display: flex;
justify-content: center;
padding: 0 32px 0;
}
.bottom-infocard-text {
max-width: 85%;
}
.bottom-infocard-title {
font-size: 24px;
line-height: 29px;
}
}