Adiciona o bottom infocard desktop e mobile
This commit is contained in:
parent
82dce69c52
commit
55730d9809
BIN
assets/images/bottom-infocard-image.png
Normal file
BIN
assets/images/bottom-infocard-image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 444 KiB |
@ -121,6 +121,33 @@ body{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.bottom-infocard{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 142px 0 180px;
|
||||
}
|
||||
|
||||
.bottom-infocard-image{
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.bottom-infocard-text{
|
||||
max-width: 550px;
|
||||
}
|
||||
|
||||
.bottom-infocard-title{
|
||||
margin-bottom: 18px;
|
||||
font-weight: 600;
|
||||
font-size: 32px;
|
||||
line-height: 1px;
|
||||
}
|
||||
|
||||
.bottom-infocard-description{
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop,
|
||||
@ -180,6 +207,25 @@ body{
|
||||
width: 100%;
|
||||
max-width: 240px;
|
||||
}
|
||||
|
||||
.bottom-infocard{
|
||||
flex-direction: column;
|
||||
padding: 80px 0 136px;
|
||||
}
|
||||
|
||||
.bottom-infocard-image{
|
||||
width: 100%;
|
||||
max-width: 596px;
|
||||
margin: 0 0 50px;
|
||||
}
|
||||
|
||||
.bottom-infocard-text{
|
||||
padding: 0 26px;
|
||||
}
|
||||
|
||||
.bottom-infocard-title{
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 769px) and (max-width:1200px){
|
||||
@ -198,5 +244,13 @@ body{
|
||||
.top-infocard-text{
|
||||
max-width: 440px;
|
||||
}
|
||||
|
||||
.bottom-infocard-image{
|
||||
max-width: 480px;
|
||||
}
|
||||
|
||||
.bottom-infocard-text{
|
||||
min-width: 400px;
|
||||
}
|
||||
}
|
||||
|
||||
|
14
index.html
14
index.html
@ -108,6 +108,20 @@
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
<section class="bottom-infocard">
|
||||
<img class="bottom-infocard-image" src="./assets/images/bottom-infocard-image.png" alt="Banner Infocard inferior" />
|
||||
|
||||
<div class="bottom-infocard-text">
|
||||
<h2 class="bottom-infocard-title">Lorem ipsum dolor sit amet</h2>
|
||||
|
||||
<p class="bottom-infocard-description"></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>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user