forked from M3-Academy/practice-time-landing-page
Gustavo_Rallenson #1
@ -51,21 +51,41 @@ body{
|
||||
.top-cards{
|
||||
background: #f0f0f0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3,max-content);
|
||||
gap: 20px;
|
||||
grid-template-columns: repeat(3,1fr);
|
||||
justify-content: center;
|
||||
padding: 74px 0;
|
||||
|
||||
}
|
||||
.top-card{
|
||||
padding: 26px 26px 34px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items:center;
|
||||
background: #ffffff;
|
||||
box-shadow: 0px 4px 20px rgba(0,0,0,0);
|
||||
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0,23);
|
||||
}
|
||||
.top-card-image{
|
||||
display: block;
|
||||
margin-bottom: 26px;
|
||||
}
|
||||
.top-card-description{
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
max-width: 300px;
|
||||
}
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.top-cards{
|
||||
grid-template-columns: 1fr;
|
||||
padding: 36px 26px;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 415px) {
|
||||
.main-banner-mobile{
|
||||
display: none;
|
||||
@ -92,6 +112,12 @@ body{
|
||||
font-size: 28px;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 769) and (max-width: 1200) {
|
||||
.top-cards{
|
||||
grid-template-columns: repeat(2,max-content);
|
||||
padding: 36px 26px;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 993px) and (max-width: 1280px) {
|
||||
.top-infocard-text {
|
||||
max-width: 520px;
|
||||
|
12
index.html
12
index.html
@ -33,16 +33,16 @@
|
||||
</section>
|
||||
<section class="top-cards">
|
||||
<div class="top-card">
|
||||
<img src="/assets/Image/shop 1.png"alt=="icone do shopping">
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
|
||||
<img class="top-card-image" src="/assets/Image/shop 1.png"alt=="icone do shopping">
|
||||
<p class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p class="top-card-description">
|
||||
</div>
|
||||
<div class="top-card">
|
||||
<img src="/assets/Image/shopping-bag (1) 1.png" alt="icone da sacola">
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
|
||||
<img class="top-card-image" src="/assets/Image/shopping-bag (1) 1.png"alt=="icone sacola de shopping">
|
||||
<p class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p class="top-card-description">
|
||||
</div>
|
||||
<div class="top-card">
|
||||
<img src="/assets/Image/coin 1.png"alt=="icone da moeda">
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
|
||||
<img class="top-card-image" src="/assets/Image/coin 1.png"alt=="icone do dinheiro">
|
||||
<p class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p class="top-card-description">
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
Loading…
Reference in New Issue
Block a user