forked from M3-Academy/challenge-landing-page
feat(home): Adiciona Infocard de Baixo desktop e mobile #7
@ -127,7 +127,7 @@ body {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 16px;
|
||||
margin: 0 auto 72px;
|
||||
margin: 0 auto 0;
|
||||
width: 92%;
|
||||
}
|
||||
|
||||
@ -153,10 +153,41 @@ body {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.bottom-infocard {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 108px 280px 0px;
|
||||
}
|
||||
|
||||
.bottom-infocard-text {
|
||||
margin-bottom: 50px;
|
||||
max-width: 41%;
|
||||
}
|
||||
|
||||
.bottom-infocard-subtitle {
|
||||
font-weight: 600;
|
||||
font-size: 32px;
|
||||
line-height: 39px;
|
||||
text-align: center;
|
||||
}
|
||||
.bottom-infocard-description {
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
}
|
||||
.bottom-banner-desktop {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.main-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
.bottom-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
.top-infocard {
|
||||
padding: 73px 32px 90px;
|
||||
margin: 0 auto 0;
|
||||
@ -211,9 +242,28 @@ body {
|
||||
.bottom-card-description {
|
||||
font-size: 14px;
|
||||
}
|
||||
.bottom-infocard {
|
||||
flex-direction: column-reverse;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.bottom-infocard-text {
|
||||
margin-top: 50px;
|
||||
max-width: 100%;
|
||||
margin: 50px 32px 88px;
|
||||
}
|
||||
.bottom-infocard-subtitle {
|
||||
font-size: 24px;
|
||||
line-height: 29px;
|
||||
margin-bottom: 9px;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1024px) {
|
||||
.main-banner-mobile {
|
||||
display: none;
|
||||
}
|
||||
.bottom-banner-mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
BIN
assets/imagens/bottom-infocard-image-desktop.png
Normal file
BIN
assets/imagens/bottom-infocard-image-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 360 KiB |
BIN
assets/imagens/bottom-infocard-image-mobile.png
Normal file
BIN
assets/imagens/bottom-infocard-image-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 246 KiB |
18
index.html
18
index.html
@ -146,6 +146,24 @@
|
||||
</figure>
|
||||
</section>
|
||||
|
||||
<section class="bottom-infocard">
|
||||
<div class="bottom-infocard-text">
|
||||
<h2 class="bottom-infocard-subtitle">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>
|
||||
<figure>
|
||||
<img class="bottom-banner bottom-banner-desktop"
|
||||
src="./assets/imagens/bottom-infocard-image-desktop.png" alt="Banner do Infocard de Baixo Desktop">
|
||||
</figure>
|
||||
<figure>
|
||||
<img class="bottom-banner bottom-banner-mobile" src="./assets/imagens/bottom-infocard-image-mobile.png"
|
||||
alt="Banner do Infocard de Baixo Mobile">
|
||||
</figure>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user