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 |
76
index.html
76
index.html
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pr-BR">
|
||||
|
||||
<head>
|
||||
<head>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
|
||||
@ -15,9 +15,9 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet" />
|
||||
|
||||
<link rel="stylesheet" href="./styles/main.css" />
|
||||
</head>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body>
|
||||
<!--Cabeçalho-->
|
||||
<header class="page-header">
|
||||
<figure>
|
||||
@ -57,26 +57,32 @@
|
||||
<!--Cards de Cima-->
|
||||
<section class="top-cards">
|
||||
<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">
|
||||
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="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">
|
||||
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="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">
|
||||
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>
|
||||
@ -85,20 +91,64 @@
|
||||
<section class="middle-banners">
|
||||
<div class="middle-banners-wrapper">
|
||||
<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 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 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>
|
||||
</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>
|
||||
</main>
|
||||
</body>
|
||||
</body>
|
||||
|
||||
</html>
|
@ -118,6 +118,7 @@ body {
|
||||
gap: 2%;
|
||||
position: relative;
|
||||
top: 8vh;
|
||||
margin-bottom: 17vh;
|
||||
}
|
||||
|
||||
.middle-banner {
|
||||
@ -129,6 +130,37 @@ body {
|
||||
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 */
|
||||
@media screen and (min-width: 821px) {
|
||||
.main-banner-mobile {
|
||||
|
Loading…
Reference in New Issue
Block a user