Adicionando os cards de baixo desktop e mobile

This commit is contained in:
Douglas Vinicius Nobrega 2022-10-08 01:00:00 -03:00
parent 5d5c58a1b5
commit 70aceca4dd
6 changed files with 116 additions and 15 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.5 KiB

View File

@ -84,6 +84,41 @@ body {
line-height: 24px;
}
.bottom-cards {
background: linear-gradient(100deg, #00C8FF 0%, #15ACD6 100%);
margin-top: 140px;
}
.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;
background: #FFFFFF;
padding: 36px 32px 66px;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.bottom-card-image {
display: block;
margin-bottom: 14px;
}
.bottom-card-description {
max-width: 368px;
text-align: center;
line-height: 24px;
font-size: 16px;
}
@media screen and (max-width: 414px) {
@ -93,6 +128,13 @@ body {
}
}
@media screen and (min-width: 415px) {
.main-banner-mobile,
.middle-banner-mobile {
display: none;
}
}
@media screen and (max-width: 992px) {
.top-infocard {
flex-direction: column;
@ -118,20 +160,6 @@ 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: 415px) {
.main-banner-mobile,
.middle-banner-mobile {
display: none;
}
}
@media screen and (max-width: 768px){
.top-cards {
display: flex;
@ -139,6 +167,21 @@ body {
gap: 17px;
padding: 36px 26px;
}
.bottom-cards {
margin-top: 114px;
padding: 0 26px;
}
.bottom-cards-wrapper {
display: flex;
flex-direction: column;
gap: 16px;
}
.bottom-card-description {
font-size: 14px;
}
}
@media screen and (min-width: 769px) and (max-width: 1200px) {
@ -146,4 +189,18 @@ body {
display: grid;
grid-template-columns: repeat(2, max-content);
}
}
}
@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;
}
}

View File

@ -72,6 +72,50 @@
<img class="middle-banner middle-banner-mobile" src="assets/images/middle-banner-mobile.png" alt="Banner Principal Mobile"/>
</section>
<section class="bottom-cards">
<div class="bottom-cards-wrapper">
<div class="bottom-card">
<img class="bottom-card-image" src="assets/images/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/images/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/images/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/images/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>
</html>