Feat(main): Cria Css Top-cards

This commit is contained in:
Rhayllon Daudt 2022-10-10 22:34:33 -03:00
parent 8fb9d1fc62
commit df7ae906ab
2 changed files with 38 additions and 10 deletions

View File

@ -57,4 +57,32 @@ body{
.top-infocard-image{ .top-infocard-image{
width: 17%; width: 17%;
padding: 0 0 178px; padding: 0 0 178px;
}
.top-cards{
display: grid;
grid-template-columns: repeat(3, 18%);
gap: 20px;
justify-content: center;
padding: 0 0 80px;
}
.top-card{
display: flex;
flex-direction: column;
align-items: center;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.top-card-image{
display: block;
padding: 36px 124px 0;
}
.top-card-description{
font-size: 16px;
line-height: 24px;
text-align: center;
padding: 26px;
} }

View File

@ -37,29 +37,29 @@
</section> </section>
<section> <section class="top-cards">
<div> <div class="top-card">
<img src="./assets/images/top-card-01.png" alt="Image 1" /> <img class="top-card-image" src="./assets/images/top-card-01.png" alt="Image 1" />
<p> <p class="top-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> </p>
</div> </div>
<div> <div class="top-card">
<img src="./assets/images/top-card-02.png" alt="Image 2" /> <img class="top-card-image" src="./assets/images/top-card-02.png" alt="Image 2" />
<p> <p class="top-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> </p>
</div> </div>
<div> <div class="top-card">
<img src="./assets/images/top-card-03.png" alt="Image 3" /> <img class="top-card-image" src="./assets/images/top-card-03.png" alt="Image 3" />
<p> <p class="top-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> </p>