Adiciona o infocard de baixo

This commit is contained in:
Rhayllon Daudt 2022-10-10 03:31:22 -03:00
parent 942e7b9839
commit 13918f641b
3 changed files with 67 additions and 1 deletions

View File

@ -161,6 +161,33 @@ body{
}
.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: 1;
}
.bottom-infocard-description{
font-size: 16px;
line-height: 24px;
}
@media screen and (max-width: 992px) {
.top-infocard{
flex-direction: column;
@ -184,6 +211,25 @@ body{
width: 100%;
max-width: 240px;
}
.bottom-infocard{
flex-direction: column;
padding: 80px 0 136px;
}
.bottom-infocard-image{
max-width: 596;
width: 100%;
margin: 0 0 50px;
}
.bottom-infocard-text{
padding: 0 26px;
}
.bottom-infocard-title{
font-size: 24px;
}
}
@ -192,6 +238,14 @@ body{
max-width: 520px;
margin-right: 70px;
}
.bottom-infocard-image{
max-width: 480px;
}
.bottom-infocard-text{
max-width: 400px;
}
}
@media screen and (max-width: 1280) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 KiB

View File

@ -11,7 +11,7 @@
<title>M3 Landing Page</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="./assets/Styles/main.css" />
</head>
@ -119,6 +119,18 @@
</div>
</section>
<section class="bottom-infocard">
<img class="bottom-infocard-image" src="./assets/images/bottom-infocard-image.png" alt="Banner do infocard de baixo" />
<div class="bottom-infocard-text">
<h2 class="bottom-infocard-title">Lorem ipsum dolor sit amet</h2>
<p class="bottom-infocard-description">
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>