forked from M3-Academy/practice-time-landing-page
Adiciona o infocard de baixo desktop mobile
This commit is contained in:
parent
4e6bad1db5
commit
8eba27aee2
@ -117,6 +117,34 @@ body {
|
||||
|
||||
.bottom-card-image {
|
||||
display: block;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.bottom-infocard {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 142px 0 180px;
|
||||
}
|
||||
|
||||
.bottom-infocard-text {
|
||||
max-width: 550px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.bottom-infocard-image {
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.bottom-card-title {
|
||||
margin-bottom: 18px;
|
||||
line-height: 1;
|
||||
font-size: 32px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.bottom-infocard-description {
|
||||
line-height: 24px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
@ -172,6 +200,21 @@ body {
|
||||
width: 100%;
|
||||
max-width: 240px;
|
||||
}
|
||||
.bottom-infocard {
|
||||
flex-direction: column;
|
||||
padding: 80px 0 136px;
|
||||
}
|
||||
.bottom-infocard-image {
|
||||
width: 100%;
|
||||
margin: 0 0 50px;
|
||||
max-width: 596px;
|
||||
}
|
||||
.bottom-infocard-text {
|
||||
padding: 0 26px;
|
||||
}
|
||||
.bottom-infocard-tittle {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 769px) and (max-width: 1200px) {
|
||||
@ -191,4 +234,11 @@ body {
|
||||
max-width: 520px;
|
||||
margin-right: 70px;
|
||||
}
|
||||
|
||||
.bottom-infocard-image {
|
||||
max-width: 480px;
|
||||
}
|
||||
.bottom-infocard-text {
|
||||
max-width: 400px;
|
||||
}
|
||||
}
|
||||
|
BIN
assets/imagens/bottom-infocard-image.png
Normal file
BIN
assets/imagens/bottom-infocard-image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 446 KiB |
17
index.html
17
index.html
@ -11,7 +11,7 @@
|
||||
<title>M3 Landing Page</title>
|
||||
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Roboto:wght@100;300;500;700&display=swap"
|
||||
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Roboto:wght@100;300;500;700&display=swap"
|
||||
rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="./assets/css/style.css">
|
||||
@ -120,8 +120,23 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="bottom-infocard">
|
||||
<img class="bottom-infocard-image" src="./assets/imagens/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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user