forked from M3-Academy/challenge-landing-page
Adiciona os card do topo desktop e mobile
This commit is contained in:
parent
34d5b6e86f
commit
49a862ea0f
BIN
assets/imagens/coin 1.png
Normal file
BIN
assets/imagens/coin 1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
BIN
assets/imagens/shop 1.png
Normal file
BIN
assets/imagens/shop 1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 959 B |
BIN
assets/imagens/shopping-bag (1) 1.png
Normal file
BIN
assets/imagens/shopping-bag (1) 1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
@ -61,13 +61,52 @@ body {
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
@media and (max-width: 414px) {
|
||||
.top-card {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 20px ;
|
||||
padding: 74px 0;
|
||||
background: #FFFFFF;
|
||||
}
|
||||
|
||||
.top-cards {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
max-width: 350px;
|
||||
padding: 26px 26px 34px;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.top-card-imagem {
|
||||
display: block;
|
||||
margin-bottom: 26px;
|
||||
}
|
||||
|
||||
.top-texto {
|
||||
max-width: 300px;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.top-card {
|
||||
grid-template-columns: 1fr;
|
||||
padding: 36px 26px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: 1400px) {
|
||||
.main-banner-desktop{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1400px) {
|
||||
@media screen (max-width: 1400px) {
|
||||
.top-infocard {
|
||||
flex-direction: column;
|
||||
}
|
||||
@ -90,15 +129,7 @@ body {
|
||||
max-width: 315px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 992px) and (max-width:1400px) {
|
||||
.infocard text {
|
||||
max-width: 542px;
|
||||
margin-right: 70px;
|
||||
}
|
||||
|
||||
}
|
||||
@media and (min-width: 415px) {
|
||||
@media (min-width: 1399px) {
|
||||
.main-banner-mobile {
|
||||
display: none;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user