forked from M3-Academy/challenge-landing-page
feat: adiciona ultima section
This commit is contained in:
parent
455feab01d
commit
dd241f339d
BIN
assets/imagens/image-bottom-mobile.png
Normal file
BIN
assets/imagens/image-bottom-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 246 KiB |
BIN
assets/imagens/image-bottom.png
Normal file
BIN
assets/imagens/image-bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 358 KiB |
@ -122,6 +122,41 @@
|
||||
max-width: 432px;
|
||||
}
|
||||
|
||||
.section-2{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
max-width: 1360px;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
margin-bottom: 116px;
|
||||
}
|
||||
|
||||
.bottom-texts{
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
.section-2 .bottom-texts h2{
|
||||
font-family: 'Inter', sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: 32px;
|
||||
line-height: 39px;
|
||||
}
|
||||
|
||||
.section-2 .bottom-texts p {
|
||||
max-width: 550px;
|
||||
font-family: 'Inter', sans-serif;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.image-bottom{
|
||||
max-width: 1360px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media screen and (max-width:1024px) {
|
||||
|
||||
.main-title{
|
||||
@ -192,5 +227,37 @@
|
||||
.card,.cards-bottom .card{
|
||||
max-width: unset;
|
||||
}
|
||||
|
||||
.section-2{
|
||||
flex-direction: column-reverse;
|
||||
margin-bottom: 87px;
|
||||
}
|
||||
|
||||
.section-2 picture{
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
|
||||
.bottom-texts{
|
||||
margin-top: 50px;
|
||||
margin-bottom: unset;
|
||||
padding: 0 32px;
|
||||
}
|
||||
|
||||
.bottom-texts h2{
|
||||
margin-bottom: 9px;
|
||||
font-size: 24px;
|
||||
line-height: 29px;
|
||||
}
|
||||
|
||||
.bottom-texts p {
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.image-bottom{
|
||||
max-height: 414px;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
|
18
index.html
18
index.html
@ -122,6 +122,24 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section class="section-2">
|
||||
<div class="bottom-texts">
|
||||
<h2>
|
||||
Lorem ipsum dolor sit amet
|
||||
</h2>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vulputate sapien non libero faucibus interdum. In eget tincidunt ipsum.
|
||||
Quisque a tellus at lectus blandit tempor. Ut tristique auctor mi eget hendrerit. Curabitur venenatis felis vitae sagittis venenatis.
|
||||
Donec finibus turpis vitae lectus interdum rutrum vitae sed augue.</p>
|
||||
</div>
|
||||
|
||||
<picture>
|
||||
<source media="(max-width: 1024px)" srcset="assets/imagens/image-bottom-mobile.png">
|
||||
<img class="image-bottom" src="assets/imagens/image-bottom.png" alt="imagem borrada de um oculos">
|
||||
</picture>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
</main>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user