forked from M3-Academy/practice-time-landing-page
Adicionar os cards de baixo desktop e mobile
This commit is contained in:
parent
2c3e3510d1
commit
4e6bad1db5
@ -86,6 +86,39 @@ body {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.bottom-cards {
|
||||
margin-top: 140px;
|
||||
background: linear-gradient(180deg, #00c8ff 0%, #15acd6 100%);
|
||||
}
|
||||
|
||||
.bottom-cards-wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, max-content);
|
||||
gap: 20px;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
top: -60px;
|
||||
}
|
||||
|
||||
.bottom-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 36px 32px 66px;
|
||||
background: #ffffff;
|
||||
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.bottom-card-description {
|
||||
max-width: 368px;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.bottom-card-image {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop,
|
||||
.middle-banner-desktop {
|
||||
@ -93,11 +126,31 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 415px) {
|
||||
.main-banner-mobile,
|
||||
.middle-banner-mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and(max-width:768px) {
|
||||
.top-cards {
|
||||
grid-template-columns: 1fr;
|
||||
padding: 36px 26px;
|
||||
}
|
||||
|
||||
.bottom-cards {
|
||||
margin-top: 114px;
|
||||
padding: 0 26px;
|
||||
}
|
||||
|
||||
.bottom-cards-wrapper {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 16px;
|
||||
}
|
||||
.bottom-card-description {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and(max-width: 992px) {
|
||||
@ -121,22 +174,21 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 993px) and (max-width: 1280px) {
|
||||
.top-infocard-text {
|
||||
max-width: 520px;
|
||||
margin-right: 70px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 769px) and (max-width: 1200px) {
|
||||
.top-cards {
|
||||
grid-template-columns: repeat(2, max-content);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 415px) {
|
||||
.main-banner-mobile,
|
||||
.middle-banner-mobile {
|
||||
display: none;
|
||||
@media screen and (min-width: 769px) and (max-width: 992px) {
|
||||
.bottom-card-description {
|
||||
max-width: 280px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 993px) and (max-width: 1280px) {
|
||||
.top-infocard-text {
|
||||
max-width: 520px;
|
||||
margin-right: 70px;
|
||||
}
|
||||
}
|
||||
|
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: 1011 B |
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: 1.3 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: 2.7 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.5 KiB |
42
index.html
42
index.html
@ -75,11 +75,53 @@
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<img class="middle-banner middle-banner-desktop" src="./assets/imagens/middle-banner-desktop.png"
|
||||
alt="Banner do Meio-Desktop" />
|
||||
<img class="middle-banner middle-banner-mobile" src="./assets/imagens/middle-banner-mobile.png"
|
||||
alt="Banner do Meio-Mobile" />
|
||||
</section>
|
||||
<section class="bottom-cards">
|
||||
<div class="bottom-cards-wrapper">
|
||||
<div class="bottom-card">
|
||||
<img class="bottom-card-image" src="./assets/imagens/bottom-card-image-01.png"
|
||||
alt="Imagem do Primeiro Card de Baixo">
|
||||
<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>
|
||||
</div>
|
||||
<div class="bottom-card">
|
||||
<img class="bottom-card-image" src="./assets/imagens/bottom-card-image-02.png"
|
||||
alt="Imagem do Segundo Card de Baixo">
|
||||
<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>
|
||||
</div>
|
||||
<div class="bottom-card">
|
||||
<img class="bottom-card-image" src="./assets/imagens/bottom-card-image-03.png"
|
||||
alt="Imagem do Terceiro Card de Baixo">
|
||||
<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>
|
||||
</div>
|
||||
<div class="bottom-card">
|
||||
<img class="bottom-card-image" src="./assets/imagens/bottom-card-image-04.png"
|
||||
alt="Imagem do Quarto Card de Baixo">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</main>
|
||||
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user