Adiciona o infocard de baixo desktop mobile

This commit is contained in:
Savio Carvalho Moraes 2022-10-09 19:13:19 -03:00
parent 4e6bad1db5
commit 8eba27aee2
3 changed files with 66 additions and 1 deletions

View File

@ -117,6 +117,34 @@ body {
.bottom-card-image { .bottom-card-image {
display: block; display: block;
margin-bottom: 14px;
}
.bottom-infocard {
display: flex;
align-items: center;
padding: 142px 0 180px;
}
.bottom-infocard-text {
max-width: 550px;
justify-content: center;
}
.bottom-infocard-image {
margin-right: 40px;
}
.bottom-card-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) { @media screen and (max-width: 414px) {
@ -172,6 +200,21 @@ body {
width: 100%; width: 100%;
max-width: 240px; max-width: 240px;
} }
.bottom-infocard {
flex-direction: column;
padding: 80px 0 136px;
}
.bottom-infocard-image {
width: 100%;
margin: 0 0 50px;
max-width: 596px;
}
.bottom-infocard-text {
padding: 0 26px;
}
.bottom-infocard-tittle {
font-size: 24px;
}
} }
@media screen and (min-width: 769px) and (max-width: 1200px) { @media screen and (min-width: 769px) and (max-width: 1200px) {
@ -191,4 +234,11 @@ body {
max-width: 520px; max-width: 520px;
margin-right: 70px; margin-right: 70px;
} }
.bottom-infocard-image {
max-width: 480px;
}
.bottom-infocard-text {
max-width: 400px;
}
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 KiB

View File

@ -11,7 +11,7 @@
<title>M3 Landing Page</title> <title>M3 Landing Page</title>
<link <link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Roboto:wght@100;300;500;700&display=swap" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Roboto:wght@100;300;500;700&display=swap"
rel="stylesheet"> rel="stylesheet">
<link rel="stylesheet" href="./assets/css/style.css"> <link rel="stylesheet" href="./assets/css/style.css">
@ -120,8 +120,23 @@
</p> </p>
</div> </div>
</div> </div>
</section>
<section class="bottom-infocard">
<img class="bottom-infocard-image" src="./assets/imagens/bottom-infocard-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> </section>
</main> </main>
</body> </body>