forked from M3-Academy/challenge-landing-page
Merge pull request 'feat(home): Adiciona cards de baixo desktop e mobile' (#6) from feature/main/bottom-cards into development
Reviewed-on: #6
This commit is contained in:
commit
384181c558
@ -122,12 +122,43 @@ body {
|
||||
.mb-imagens {
|
||||
width: 100%;
|
||||
}
|
||||
@media screen and (max-width: 1023px) {
|
||||
|
||||
.bottom-cards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 16px;
|
||||
margin: 0 auto 72px;
|
||||
width: 92%;
|
||||
}
|
||||
|
||||
.bottom-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
background: #ffffff;
|
||||
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
||||
}
|
||||
|
||||
.bottom-card-image {
|
||||
display: block;
|
||||
margin-top: 35px;
|
||||
}
|
||||
|
||||
.bottom-card-description {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
margin: 15px 32px 65px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.main-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
.top-infocard {
|
||||
padding: 73px 0 90px;
|
||||
padding: 73px 32px 90px;
|
||||
margin: 0 auto 0;
|
||||
}
|
||||
.top-inforcard-text {
|
||||
@ -146,7 +177,7 @@ body {
|
||||
}
|
||||
.top-infocard-description {
|
||||
line-height: 24px;
|
||||
margin-bottom: 66px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.top-cards {
|
||||
@ -167,6 +198,19 @@ body {
|
||||
column-gap: 14px;
|
||||
margin: 0 24px 0;
|
||||
}
|
||||
|
||||
.bottom-cards {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
gap: 16px;
|
||||
margin: 0 auto 98px;
|
||||
width: 88%;
|
||||
}
|
||||
|
||||
.bottom-card-description {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1024px) {
|
||||
.main-banner-mobile {
|
||||
|
BIN
assets/imagens/bottom-card-image-01.png
Normal file
BIN
assets/imagens/bottom-card-image-01.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/imagens/bottom-card-image-02.png
Normal file
BIN
assets/imagens/bottom-card-image-02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
BIN
assets/imagens/bottom-card-image-03.png
Normal file
BIN
assets/imagens/bottom-card-image-03.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/imagens/bottom-card-image-04.png
Normal file
BIN
assets/imagens/bottom-card-image-04.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
48
index.html
48
index.html
@ -34,8 +34,6 @@
|
||||
</figure>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<section class="top-infocard">
|
||||
<div class="top-inforcard-text">
|
||||
<h2 class="top-infocard-subtitle">Lorem ipsum</h2>
|
||||
@ -101,6 +99,52 @@
|
||||
</figure>
|
||||
</div>
|
||||
</section>
|
||||
<section class="bottom-cards">
|
||||
<figure class="bottom-card">
|
||||
<img class="bottom-card-image" src="./assets/imagens/bottom-card-image-01.png"
|
||||
alt="Imagem do Primeiro Card de Baixo">
|
||||
<figcaption>
|
||||
<p class="bottom-card-description">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla
|
||||
interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui
|
||||
fringilla interdum.
|
||||
</p>
|
||||
</figcaption>
|
||||
</figure>
|
||||
<figure class="bottom-card">
|
||||
<img class="bottom-card-image" src="./assets/imagens/bottom-card-image-02.png"
|
||||
alt="Imagem do Segundo Card de Baixo">
|
||||
<figcaption>
|
||||
<p class="bottom-card-description">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla
|
||||
interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui
|
||||
fringilla interdum.
|
||||
</p>
|
||||
</figcaption>
|
||||
</figure>
|
||||
<figure class="bottom-card">
|
||||
<img class="bottom-card-image" src="./assets/imagens/bottom-card-image-03.png"
|
||||
alt="Imagem do Terceiro Card de Baixo">
|
||||
<figcaption>
|
||||
<p class="bottom-card-description">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla
|
||||
interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui
|
||||
fringilla interdum.
|
||||
</p>
|
||||
</figcaption>
|
||||
</figure>
|
||||
<figure class="bottom-card">
|
||||
<img class="bottom-card-image" src="./assets/imagens/bottom-card-image-04.png"
|
||||
alt="Imagem do Quarto Card de Baixo">
|
||||
<figcaption>
|
||||
<p class="bottom-card-description">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla
|
||||
interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui
|
||||
fringilla interdum.
|
||||
</p>
|
||||
</figcaption>
|
||||
</figure>
|
||||
</section>
|
||||
|
||||
|
||||
</main>
|
||||
|
Loading…
Reference in New Issue
Block a user