Adiciona os card de baixo desktop e mobile
This commit is contained in:
parent
4978556823
commit
4813b2b28c
@ -90,6 +90,41 @@ body{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.bottom-cards{
|
||||
margin-top: 140px;
|
||||
background: linear-gradient(180deg, #00C8FF 0%, #15ACD6 100%);
|
||||
}
|
||||
|
||||
.bottom-cards-wrapper{
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, max-content);
|
||||
justify-content: center;
|
||||
gap: 20px;
|
||||
position: relative;
|
||||
top: -60px;
|
||||
}
|
||||
|
||||
.bottom-card{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 36px 32px 66px;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.bottom-card-image{
|
||||
display: block;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.bottom-card-description{
|
||||
max-width: 367px;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop,
|
||||
.middle-banner-desktop {
|
||||
@ -97,11 +132,32 @@ body{
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 415px) {
|
||||
.main-banner-mobile,
|
||||
.middle-banner-mobile{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.top-cards{
|
||||
grid-template-columns: 1fr;
|
||||
padding: 36px 26px;
|
||||
}
|
||||
|
||||
.bottom-cards{
|
||||
margin-top: 114px;
|
||||
padding: 0 26px;
|
||||
}
|
||||
|
||||
..bottom-cards-wrapper{
|
||||
grid-template-columns: 1fr;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.bottom-card-description{
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -149,6 +205,10 @@ body{
|
||||
.top-cards{
|
||||
grid-template-columns: repeat(2, max-content);
|
||||
}
|
||||
|
||||
.bottom-card-description{
|
||||
max-width: 280;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1200px) {
|
||||
@ -158,9 +218,8 @@ body{
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-width: 415px) {
|
||||
.main-banner-mobile,
|
||||
.middle-banner-mobile{
|
||||
display: none;
|
||||
@media screen and (max-width: 992px) {
|
||||
.bottom-card-description{
|
||||
max-width: 280px;
|
||||
}
|
||||
}
|
BIN
assets/images/bottom-card-image-01.png
Normal file
BIN
assets/images/bottom-card-image-01.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
assets/images/bottom-card-image-02.png
Normal file
BIN
assets/images/bottom-card-image-02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/images/bottom-card-image-03.png
Normal file
BIN
assets/images/bottom-card-image-03.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
BIN
assets/images/bottom-card-image-04.png
Normal file
BIN
assets/images/bottom-card-image-04.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
39
index.html
39
index.html
@ -80,6 +80,45 @@
|
||||
<img class="middle-banner middle-banner-mobile" src="./assets/images/middle-banner-mobile.png" alt="Banner computador" />
|
||||
</figure>
|
||||
</div>
|
||||
|
||||
<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>
|
Loading…
Reference in New Issue
Block a user