forked from M3-Academy/challenge-landing-page
feat(main): Adiciona os cards de baixo desktop
This commit is contained in:
parent
53135c486c
commit
37da6069d9
BIN
assets/images/bottom-card-image-01.png
Normal file
BIN
assets/images/bottom-card-image-01.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/images/bottom-card-image-02.png
Normal file
BIN
assets/images/bottom-card-image-02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
BIN
assets/images/bottom-card-image-03.png
Normal file
BIN
assets/images/bottom-card-image-03.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/images/bottom-card-image-04.png
Normal file
BIN
assets/images/bottom-card-image-04.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
68
index.html
68
index.html
@ -57,26 +57,32 @@
|
|||||||
<!--Cards de Cima-->
|
<!--Cards de Cima-->
|
||||||
<section class="top-cards">
|
<section class="top-cards">
|
||||||
<figure class="top-card">
|
<figure class="top-card">
|
||||||
<img class="top-card-image" src="./assets/images/top-card-image-01.png" alt="Icone representando loja" />
|
<img class="top-card-image" src="./assets/images/top-card-image-01.png"
|
||||||
|
alt="Icone representando loja" />
|
||||||
|
|
||||||
<figcaption class="top-cards-description">
|
<figcaption class="top-cards-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.
|
||||||
</figcaption>
|
</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<figure class="top-card">
|
<figure class="top-card">
|
||||||
<img class="top-card-image" src="./assets/images/top-card-image-02.png" alt="Icone de sacola de compras" />
|
<img class="top-card-image" src="./assets/images/top-card-image-02.png"
|
||||||
|
alt="Icone de sacola de compras" />
|
||||||
|
|
||||||
<figcaption class="top-cards-description">
|
<figcaption class="top-cards-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.
|
||||||
</figcaption>
|
</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<figure class="top-card">
|
<figure class="top-card">
|
||||||
<img class="top-card-image" src="./assets/images/top-card-image-03.png" alt="Icone de mão com dinheiro" />
|
<img class="top-card-image" src="./assets/images/top-card-image-03.png"
|
||||||
|
alt="Icone de mão com dinheiro" />
|
||||||
|
|
||||||
<figcaption class="top-cards-description">
|
<figcaption class="top-cards-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.
|
||||||
</figcaption>
|
</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
</section>
|
</section>
|
||||||
@ -85,18 +91,62 @@
|
|||||||
<section class="middle-banners">
|
<section class="middle-banners">
|
||||||
<div class="middle-banners-wrapper">
|
<div class="middle-banners-wrapper">
|
||||||
<figure class="middle-banner middle-banner-fig-01">
|
<figure class="middle-banner middle-banner-fig-01">
|
||||||
<img class="middle-banner-image" src="./assets/images/middle-banner-image-01.png" alt="Macbook quase fechado">
|
<img class="middle-banner-image" src="./assets/images/middle-banner-image-01.png"
|
||||||
|
alt="Macbook quase fechado">
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<figure class="middle-banner middle-banner-fig-02">
|
<figure class="middle-banner middle-banner-fig-02">
|
||||||
<img class="middle-banner-image" src="./assets/images/middle-banner-image-02.png" alt="Macbook semi-aberto">
|
<img class="middle-banner-image" src="./assets/images/middle-banner-image-02.png"
|
||||||
|
alt="Macbook semi-aberto">
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<figure class="middle-banner middle-banner-fig-03">
|
<figure class="middle-banner middle-banner-fig-03">
|
||||||
<img class="middle-banner-image" src="./assets/images/middle-banner-image-03.png" alt="Close do Macbook">
|
<img class="middle-banner-image" src="./assets/images/middle-banner-image-03.png"
|
||||||
|
alt="Close do Macbook">
|
||||||
</figure>
|
</figure>
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="bottom-cards">
|
||||||
|
<figure class="bottom-card">
|
||||||
|
<img class="bottom-card-image" src="./assets/images/bottom-card-image-01.png" alt="" />
|
||||||
|
|
||||||
|
<figcaption 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.
|
||||||
|
</figcaption>
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
<figure class="bottom-card">
|
||||||
|
<img class="bottom-card-image" src="./assets/images/bottom-card-image-02.png" alt="" />
|
||||||
|
|
||||||
|
<figcaption 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.
|
||||||
|
</figcaption>
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
<figure class="bottom-card">
|
||||||
|
<img class="bottom-card-image" src="./assets/images/bottom-card-image-03.png" alt="" />
|
||||||
|
|
||||||
|
<figcaption 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.
|
||||||
|
</figcaption>
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
<figure class="bottom-card">
|
||||||
|
<img class="bottom-card-image" src="./assets/images/bottom-card-image-04.png" alt="" />
|
||||||
|
|
||||||
|
<figcaption 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.
|
||||||
|
</figcaption>
|
||||||
|
</figure>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
@ -118,6 +118,7 @@ body {
|
|||||||
gap: 2%;
|
gap: 2%;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 8vh;
|
top: 8vh;
|
||||||
|
margin-bottom: 17vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.middle-banner {
|
.middle-banner {
|
||||||
@ -129,6 +130,37 @@ body {
|
|||||||
width: 100%
|
width: 100%
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Cards de Baixo */
|
||||||
|
.bottom-cards {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 1%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bottom-card {
|
||||||
|
width: 22%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
background: #FFFFFF;
|
||||||
|
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
.bottom-card-image {
|
||||||
|
width: 22%;
|
||||||
|
margin: 10% 0 5%
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.bottom-card-description {
|
||||||
|
width: 85%;
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 24px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
/* Responsividade */
|
/* Responsividade */
|
||||||
@media screen and (min-width: 821px) {
|
@media screen and (min-width: 821px) {
|
||||||
.main-banner-mobile {
|
.main-banner-mobile {
|
||||||
|
Loading…
Reference in New Issue
Block a user