feat: adicionei o bottom infocard mobile e desktop

This commit is contained in:
Gustavo_Rallenson 2022-10-08 23:16:56 -03:00
parent 83ef1900b7
commit b51ed35280
3 changed files with 55 additions and 3 deletions

BIN
assets/Image/Óculos.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 KiB

View File

@ -109,13 +109,35 @@ body{
line-height: 24px;
max-width: 300px;
}
.bottom-infocard{
display: flex;
align-items: center;
justify-content: center;
padding: 142px 0 180px;
}
.infocad-text{
max-width: 550px;
}
.bottom-inforcard-img{
margin-right: 40px;
}
.bottom-infocard-title{
font-weight: 600;
font-size: 32px;
line-height: 1px;
margin-bottom: 18px;
}
.bottom-infocard-description{
font-size: 16px;
line-height: 24px;
}
@media screen and (max-width: 414px) {
.main-banner-desktop, .mid-banner-desktop{
display: none;
}
}
@media screen and (min-width: 415px) {
.main-banner-mobile, .mid-banner-desktop{
.main-banner-mobile, .mid-banner-mobile{
display: none;
}
}
@ -159,6 +181,21 @@ body{
margin-bottom: 20px;
font-size: 28px;
}
.bottom-infocard{
flex-direction: column;
padding: 80px 0 136px;
}
.bottom-inforcard-img{
max-width: 100%;
margin: 0 0 50px;
max-width: 596px;
}
.bottom-infocard-description{
padding: 0 26px;
}
.bottom-infocard-title{
font-size: 24px;
}
}
@media screen and (min-width: 769) and (max-width: 1200) {
.top-cards{
@ -179,6 +216,11 @@ body{
.top-infocard-text {
max-width: 520px;
margin-right: 70px;
}
.bottom-inforcard-img{
max-width: 480px;
}
.bottom-infocard-description{
max-width: 400px;
}
}

View File

@ -9,7 +9,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/assets/css/main.css"/>
<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">
<title>M3 Landing Page</title>
</head>
<body>
@ -70,6 +70,16 @@
</div>
</div>
</section>
<section class="bottom-infocard">
<img class="bottom-inforcard-img" src="/assets/Image/Óculos.png" alt="Banner bottom desktop">
<div class="infocad-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>
<footer></footer>
</body>