forked from M3-Academy/practice-time-landing-page
Gustavo_Rallenson #1
BIN
assets/Image/top-infocard-image.png
Normal file
BIN
assets/Image/top-infocard-image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
@ -3,6 +3,10 @@
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body{
|
||||
font-family: 'Inter', sans-serif;
|
||||
color: #000000;
|
||||
}
|
||||
.Page-Header{
|
||||
/* Rectangle 12 */
|
||||
display: flex;
|
||||
@ -15,7 +19,34 @@
|
||||
|
||||
}
|
||||
.main-banner{
|
||||
width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
.top-infocard {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 90px 0 96px;
|
||||
}
|
||||
.top-infocard-text{
|
||||
margin-right: 124px;
|
||||
max-width: 766px;
|
||||
}
|
||||
.top-infocard-subtitle{
|
||||
/* Lorem ipsum */
|
||||
text-transform: uppercase;
|
||||
font-size: 32px;
|
||||
font-weight: 400;
|
||||
/* identical to box height, or 250% */
|
||||
}
|
||||
.top-infocard-title{
|
||||
margin-bottom: 24px;
|
||||
text-transform: uppercase;
|
||||
font-size: 48px;
|
||||
font-weight: 500;
|
||||
}
|
||||
.top-infocard-description{
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop{
|
||||
@ -27,3 +58,31 @@
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 992px) {
|
||||
.top-infocard{
|
||||
flex-direction: column;
|
||||
padding: 84px 26px 158px;
|
||||
}
|
||||
.top-infocard-text{
|
||||
margin-right: 0 0 68px;
|
||||
}
|
||||
.top-infocard-subtitle{
|
||||
font-size: 20px;
|
||||
}
|
||||
.top-infocard-image{
|
||||
margin: 68px 88px 158px;
|
||||
width: 100%;
|
||||
max-width: 240px;
|
||||
}
|
||||
.top-infocard-title{
|
||||
margin-bottom: 20px;
|
||||
font-size: 28px;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 993px) and (max-width: 1280px) {
|
||||
.top-infocard-text {
|
||||
max-width: 520px;
|
||||
margin-right: 70px;
|
||||
|
||||
}
|
||||
}
|
16
index.html
16
index.html
@ -2,10 +2,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="Pt-BR">
|
||||
<head>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
|
||||
<meta charset="UTF-8" />
|
||||
<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" />
|
||||
<title>M3 Landing Page</title>
|
||||
</head>
|
||||
<body>
|
||||
@ -16,8 +20,16 @@
|
||||
</header>
|
||||
<main>
|
||||
<section>
|
||||
<img class="main-banner main-banner-desktop" src="/assets/Image/main-banner-desktop.png" alt="main-banner-desktop"/>
|
||||
<img class="main-banner main-banner-mobile"" src="/assets/Image/main-banner-mobile.png" alt="main-banner-mobile"/>
|
||||
<img class="main-banner main-banner-desktop" src="/assets/Image/main-banner-desktop.png" alt="Banner Principal desktop"/>
|
||||
<img class="main-banner main-banner-mobile"" src="/assets/Image/main-banner-mobile.png" alt="Banner Principal mobile"/>
|
||||
</section>
|
||||
<section class="top-infocard">
|
||||
<div class="top-infocard-text">
|
||||
<h2 class="top-infocard-subtitle">Lorem ipsum</h2>
|
||||
<h1 class="top-infocard-title">dolor sit amet</h1>
|
||||
<p class="top-infocard-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit.Cras euismod enim non dui fringilla interdum.Curabitur ut tortor sed lacus egestas vulputate vel sit amet velit.Nulla suscipit magna dui.</p>
|
||||
</div>
|
||||
<img class="top-infocard-image" src="/assets/Image/top-infocard-image.png" alt="Banner do infocard no topo">
|
||||
</section>
|
||||
</main>
|
||||
<footer></footer>
|
||||
|
Loading…
Reference in New Issue
Block a user