forked from M3-Academy/practice-time-landing-page
adicionando os cards de baixo desktop e mobile com pequenas alteracoes
This commit is contained in:
parent
09ee2bacb0
commit
c8ea05a580
BIN
assents/imagens/bottom-card-01.png
Normal file
BIN
assents/imagens/bottom-card-01.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
assents/imagens/bottom-card-02.png
Normal file
BIN
assents/imagens/bottom-card-02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
assents/imagens/bottom-card-03.png
Normal file
BIN
assents/imagens/bottom-card-03.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
BIN
assents/imagens/bottom-card-04.png
Normal file
BIN
assents/imagens/bottom-card-04.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
34
index.html
34
index.html
@ -74,6 +74,40 @@
|
||||
<img class="middle-banner middle-banner-mobile" src="assents/imagens/img-center-mobile.png" alt="Banner center Principal">
|
||||
|
||||
</section>
|
||||
|
||||
<section class="bottom-cards" >
|
||||
|
||||
<div class="bottom-card-wrapper" >
|
||||
<div class="bottom-card">
|
||||
<img class="bottom-card-image" src="assents/imagens/bottom-card-01.png" alt="imagem do segundo card topo"/>
|
||||
<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="assents/imagens/bottom-card-02.png" alt="imagem do segundo card topo"/>
|
||||
<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="assents/imagens/bottom-card-03.png" alt="imagem do segundo card topo"/>
|
||||
<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="assents/imagens/bottom-card-04.png" alt="imagem do segundo card topo"/>
|
||||
<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>
|
||||
|
@ -18,7 +18,7 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*///////////// SECTION 01 + @media desktop e mobile /////////////////// */
|
||||
/*///////////// SECTION 01 e 02 com banner /////////////////// */
|
||||
|
||||
.main-banner,
|
||||
.middle-banner {
|
||||
@ -105,6 +105,49 @@
|
||||
|
||||
}
|
||||
|
||||
/*/////////// Bottom Area com imagens e background//////////////*/
|
||||
|
||||
.bottom-cards {
|
||||
margin-top: 140px;
|
||||
background: linear-gradient(180deg, #00C8FF 0%, #15ACD6 100%);
|
||||
|
||||
|
||||
}
|
||||
|
||||
.bottom-card-wrapper {
|
||||
position: relative;
|
||||
top: -60px;
|
||||
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, max-content);
|
||||
|
||||
justify-content: center;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.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: 368px;
|
||||
text-align: center;
|
||||
line-height: 24px;
|
||||
font-size: 16px;
|
||||
|
||||
}
|
||||
|
||||
/*///////////////// ABAIXO DE 414PX /////////////////*/
|
||||
|
||||
@media screen and (max-width: 414px){
|
||||
@ -114,6 +157,16 @@
|
||||
}
|
||||
}
|
||||
|
||||
/*///////////////// ABAIXO DE 415PX /////////////////*/
|
||||
|
||||
@media screen and (min-width: 415px ) {
|
||||
.main-banner-mobile,
|
||||
.middle-banner-mobile{
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*///////////////// ACIMA DE 768PX /////////////////*/
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
@ -121,7 +174,21 @@
|
||||
grid-template-columns: 1fr;
|
||||
padding: 36px 26px;
|
||||
}
|
||||
|
||||
.bottom-cards{
|
||||
padding: 0 16px;
|
||||
margin-top: 114px;
|
||||
}
|
||||
|
||||
.bottom-card-wrapper{
|
||||
grid-template-columns: 1fr;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.bottom-card-description{
|
||||
font-size: 14px;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/*///////////////// ACIMA DE 992PX /////////////////*/
|
||||
@ -164,20 +231,25 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 769px) and (max-width: 992px) {
|
||||
|
||||
.bottom-card-description{
|
||||
max-width: 280px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 769px) and (max-width: 1200px) {
|
||||
.top-cards {
|
||||
grid-template-columns: repeat(2 , max-content);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/*///////////////// ABAIXO DE 415PX /////////////////*/
|
||||
|
||||
@media screen and (min-width: 415px ) {
|
||||
.main-banner-mobile,
|
||||
.middle-banner-mobile{
|
||||
display: none;
|
||||
.bottom-card-wrapper{
|
||||
grid-template-columns: repeat(2 , max-content);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user