Adiciona cards inferiores desktop e mobile

This commit is contained in:
Saulo Klein Nery 2022-10-07 15:55:15 -03:00
parent fd6f9ef2d4
commit 192f9be783
6 changed files with 84 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -87,6 +87,43 @@ body{
font-size: 16px; font-size: 16px;
line-height: 24px; line-height: 24px;
text-align: center; text-align: center;
margin-bottom: 27px;
}
.bottom-cards{
margin-top: 142px;
background: linear-gradient(180deg, #00C8FF 0%, #15ACD6 100%);
}
.bottom-cards-wrapper{
position: relative;
top: -62px;
display: grid;
grid-template-columns: repeat(2, max-content);
justify-content: center;
gap: 20px;
}
.bottom-card{
display: flex;
flex-direction: column;
align-items: center;
max-width: 432px;
background: #FFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.bottom-card-image{
display: block;
margin: 34px 0 14px;
}
.bottom-card-description{
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: center;
margin: 0px 32px 64px;
} }
@media screen and (max-width: 414px){ @media screen and (max-width: 414px){
@ -136,6 +173,11 @@ body{
width: 100%; width: 100%;
max-width: 240px; max-width: 240px;
} }
.bottom-cards-wrapper{
grid-template-columns: 1fr;
justify-items: center;
}
} }
@media screen and (min-width: 993px) and (max-width: 1280px){ @media screen and (min-width: 993px) and (max-width: 1280px){

View File

@ -46,12 +46,12 @@
</div> </div>
<img class="top-infocard-image" src="./assets/images/top-infocard-image.png" alt="Banner do Infocard do Topo"> <img class="top-infocard-image" src="./assets/images/top-infocard-image.png" alt="Banner do Infocard Superior">
</section> </section>
<section class="top-cards"> <section class="top-cards">
<div class="top-card"> <div class="top-card">
<img class="top-card-image" src="./assets/images/top-card-image01.png" alt="Imagem do Primero Card do Topo"> <img class="top-card-image" src="./assets/images/top-card-image01.png" alt="Imagem do Primero Card Superior">
<p class="top-card-description"> <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.
@ -59,7 +59,7 @@
</div> </div>
<div class="top-card"> <div class="top-card">
<img class="top-card-image" src="./assets/images/top-card-image02.png" alt="Imagem do Segundo Card do Topo"> <img class="top-card-image" src="./assets/images/top-card-image02.png" alt="Imagem do Segundo Card Superior">
<p class="top-card-description"> <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.
@ -67,7 +67,7 @@
</div> </div>
<div class="top-card"> <div class="top-card">
<img class="top-card-image" src="./assets/images/top-card-image03.png" alt="Imagem do Terceiro Card do Topo"> <img class="top-card-image" src="./assets/images/top-card-image03.png" alt="Imagem do Terceiro Card Superior">
<p class="top-card-description"> <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.
@ -79,6 +79,44 @@
<img class="middle-banner middle-banner-desktop" src="./assets/images/middle-banner-desktop.png" alt="Banner Central Desktop"> <img class="middle-banner middle-banner-desktop" src="./assets/images/middle-banner-desktop.png" alt="Banner Central Desktop">
<img class="middle-banner middle-banner-mobile" src="./assets/images/middle-banner-mobile.png" alt="Banner Central Mobile"> <img class="middle-banner middle-banner-mobile" src="./assets/images/middle-banner-mobile.png" alt="Banner Central Mobile">
</section> </section>
<section class="bottom-cards">
<div class="bottom-cards-wrapper">
<div class="bottom-card">
<img class="bottom-card-image" src="./assets/images/bottom-card-image01.png" alt="Imagem do Primeiro Card Inferior">
<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/images/bottom-card-image02.png" alt="Imagem do Segundo Card Inferior">
<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/images/bottom-card-image03.png" alt="Imagem do Terceiro Card Inferior">
<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/images/bottom-card-image04.png" alt="Imagem do Quarto Card Inferior">
<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> </main>
</body> </body>
</html> </html>