Adiciona Bottom info cards responsive
BIN
assets/images/bottom-card-image-01.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
assets/images/bottom-card-image-02.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/images/bottom-card-image-03.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
assets/images/bottom-card-image-04.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 947 KiB After Width: | Height: | Size: 947 KiB |
Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 142 KiB |
@ -86,25 +86,57 @@ body{
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.infocard-banner{
|
.middle-banner{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.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);
|
||||||
|
gap: 20px;
|
||||||
|
justify-content: center;
|
||||||
|
position: relative;
|
||||||
|
top: -60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bottom-card{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
padding: 36px 32px 66px;
|
||||||
|
max-width: 432px;
|
||||||
|
background: #FFFFFF;
|
||||||
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
||||||
|
}
|
||||||
|
|
||||||
|
.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){
|
@media screen and (max-width: 414px){
|
||||||
.main-banner-desktop{
|
.main-banner-desktop,
|
||||||
display: none;
|
.middle-banner-desktop{
|
||||||
}
|
|
||||||
.infocard-banner-desktop{
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 415px){
|
@media screen and (min-width: 415px){
|
||||||
.main-banner-mobile{
|
.main-banner-mobile,
|
||||||
display: none;
|
.middle-banner-mobile{
|
||||||
}
|
|
||||||
.infocard-banner-mobile{
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -114,6 +146,19 @@ body{
|
|||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
padding: 36px 26px;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) and (max-width: 1200px){
|
@media screen and (min-width: 769px) and (max-width: 1200px){
|
||||||
@ -122,6 +167,12 @@ body{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 769px) and (max-width: 992px){
|
||||||
|
.bottom-card-description{
|
||||||
|
max-width: 280px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 992px){
|
@media screen and (max-width: 992px){
|
||||||
.top-infocard{
|
.top-infocard{
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -138,6 +189,7 @@ body{
|
|||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
.top-infocard-image{
|
.top-infocard-image{
|
||||||
|
width: 100%;
|
||||||
max-width: 240px;
|
max-width: 240px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
33
index.html
@ -61,8 +61,37 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<img class="infocard-banner infocard-banner-desktop" src="/assets/images/infocard-banner-desktop.png" alt="Banner Infocard Desktop">
|
<img class="middle-banner middle-banner-desktop" src="/assets/images/middle-banner-desktop.png" alt="Banner do Meio Desktop">
|
||||||
<img class="infocard-banner infocard-banner-mobile" src="/assets/images/infocard-banner-mobile.png" alt="Banner Infocard Mobile">
|
<img class="middle-banner middle-banner-mobile" src="/assets/images/middle-banner-mobile.png" alt="Banner do Meio 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>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|