Adiciona o bottom infocard desktop e mobile

This commit is contained in:
Filipe Quintanilha Evangelista 2022-10-07 17:39:12 -03:00
parent 82dce69c52
commit 55730d9809
3 changed files with 68 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 KiB

View File

@ -121,6 +121,33 @@ body{
text-align: center; 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) { @media screen and (max-width: 414px) {
.main-banner-desktop, .main-banner-desktop,
@ -180,6 +207,25 @@ body{
width: 100%; width: 100%;
max-width: 240px; 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){ @media screen and (min-width: 769px) and (max-width:1200px){
@ -198,5 +244,13 @@ body{
.top-infocard-text{ .top-infocard-text{
max-width: 440px; max-width: 440px;
} }
.bottom-infocard-image{
max-width: 480px;
}
.bottom-infocard-text{
min-width: 400px;
}
} }

View File

@ -108,6 +108,20 @@
</section> </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> </main>
</body> </body>
</html> </html>