forked from M3-Academy/practice-time-landing-page
feat(home): bottom-infocard adicionado
This commit is contained in:
parent
9e4a468b05
commit
f813e9b28d
Before Width: | Height: | Size: 444 KiB After Width: | Height: | Size: 444 KiB |
@ -102,7 +102,29 @@ body{
|
||||
line-height: 24px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.bottom-infocard{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 7% 0 9%;
|
||||
}
|
||||
.bottom-infocard-image{
|
||||
margin-right: 40px;
|
||||
}
|
||||
.bottom-infocard-text{
|
||||
max-width: 28%;
|
||||
}
|
||||
.bottom-infocard-title{
|
||||
margin-bottom: 18px;
|
||||
font-weight: 600;
|
||||
font-size: 32px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.bottom-infocard-description{
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
|
||||
@media screen and (min-width:2500px) {
|
||||
@ -192,9 +214,21 @@ body{
|
||||
width: 100%;
|
||||
max-width: 240px;
|
||||
}
|
||||
|
||||
.bottom-infocard{
|
||||
flex-direction: column;
|
||||
padding: 80px 0 136px;
|
||||
}
|
||||
.bottom-infocard-image{
|
||||
width: 100%;
|
||||
max-width: 650px;
|
||||
margin: 0 0 50px;
|
||||
}
|
||||
.bottom-infocard-text{
|
||||
max-width: 95%;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.top-cards{
|
||||
grid-template-columns: 1fr;
|
||||
@ -214,9 +248,10 @@ body{
|
||||
.bottom-card-description{
|
||||
font-size: 14px;
|
||||
}
|
||||
.bottom-card-wrapper {
|
||||
.bottom-card-wrapper {
|
||||
padding: 0 5%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.bottom-infocard-title{
|
||||
font-size: 24px;
|
||||
}
|
||||
}}
|
22
index.html
22
index.html
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pt-br">
|
||||
<head>
|
||||
|
||||
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
<title>M3 Landing Page</title>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter&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"/>
|
||||
@ -26,7 +26,7 @@
|
||||
</header>
|
||||
<main>
|
||||
<section>
|
||||
<img class="main-banner main-banner-desktop" src="./assets/images/Main-banner-desktop.png" alt="Main-banner-desktop"/>
|
||||
<img class="main-banner main-banner-desktop" src="./assets/images/Main-banner-desktop.png" alt="Banner do topo"/>
|
||||
</section>
|
||||
|
||||
<section class="top-infocard">
|
||||
@ -59,7 +59,7 @@
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<img class="middler-banner middler-banner-desktop" src="./assets/images/middle-banner-desktop.png" alt="middler-banner-desktop"/>
|
||||
<img class="middler-banner middler-banner-desktop" src="./assets/images/middle-banner-desktop.png" alt="Banner do meio"/>
|
||||
</section>
|
||||
|
||||
<section class="bottom-cards">
|
||||
@ -98,6 +98,20 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
<section class="bottom-infocard">
|
||||
<img class="bottom-infocard-image" src="./assets/images/bottom-inforcard-image.png" alt="Imagem Infocard do fundo">
|
||||
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user