forked from M3-Academy/challenge-landing-page
"commit atualizado"
This commit is contained in:
parent
7ea4812402
commit
8ced71f8f1
BIN
computers.png
Normal file
BIN
computers.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
61
index.html
Normal file
61
index.html
Normal file
@ -0,0 +1,61 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pt-br">
|
||||
<head>
|
||||
<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="style.css">
|
||||
<title>Desafio 1 M3 Academy</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav class="menu">
|
||||
<a href="index.html">
|
||||
<img class="img-logo" src="./imagens/Logo-M3Academy.svg" alt="Logo-img">
|
||||
|
||||
</a>
|
||||
|
||||
</nav>
|
||||
|
||||
</header>
|
||||
<section class="imgBackground">
|
||||
|
||||
</section>
|
||||
<main class="container">
|
||||
<h1 class="text1">Lorem ipsum</h1>
|
||||
<h1 class="text2">dolor sit amet</h1>
|
||||
|
||||
<p class="text3">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod
|
||||
enim non dui fringilla interdum.</p>
|
||||
<p class="text4">Curabitur ut tortor sed lacus egestas vulputate
|
||||
vel sit amet velit. Nulla suscipit magna dui.</p>
|
||||
<img src="./imagens/computers.png" alt="Computer-png">
|
||||
<article class="cardCenter">
|
||||
<div class="card1">
|
||||
<img class="img-card"src="./imagens/shop.png" alt="Grou-png">
|
||||
<p class="text5">Lorem ipsum dolor sit amet,</p>
|
||||
<p class="text5">consectetur adipiscing elit. Cras</p>
|
||||
<p class="text5">euismod enim non dui fringilla</p>
|
||||
<p class="text5">interdum.</p>
|
||||
</div>
|
||||
<div class="card1">
|
||||
<img class="img-card"src="./imagens/Group.png" alt="Grou-png">
|
||||
<p class="text5">Lorem ipsum dolor sit amet,</p>
|
||||
<p class="text5">consectetur adipiscing elit. Cras</p>
|
||||
<p class="text5">euismod enim non dui fringilla</p>
|
||||
<p class="text5">interdum.</p>
|
||||
</div>
|
||||
<div class="card1">
|
||||
<img class="img-card"src="./imagens/coin.png" alt="Grou-png">
|
||||
<p class="text5">Lorem ipsum dolor sit amet,</p>
|
||||
<p class="text5">consectetur adipiscing elit. Cras</p>
|
||||
<p class="text5">euismod enim non dui fringilla</p>
|
||||
<p class="text5">interdum.</p>
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
</main>
|
||||
|
||||
</body>
|
||||
</html>
|
111
style.css
Normal file
111
style.css
Normal file
@ -0,0 +1,111 @@
|
||||
* {
|
||||
font-family: 'Inter';
|
||||
margin: 0px;
|
||||
}
|
||||
.menu {
|
||||
display:flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width:100%;
|
||||
height:101px;
|
||||
background:#000000;
|
||||
|
||||
}
|
||||
.img-logo{
|
||||
width:226;
|
||||
height:43;
|
||||
}
|
||||
.imgBackground {
|
||||
background-image: url("imagens/telaPc.png");
|
||||
background-size:100% 100%;
|
||||
width:100%;
|
||||
height:500px;
|
||||
}
|
||||
@media only screen and (max-width: 700px) {
|
||||
.imgBackground{
|
||||
background-image: url("imagens/telaPc.png");
|
||||
background-size:100% 100%;
|
||||
width:100%;
|
||||
height:300px;
|
||||
}
|
||||
}
|
||||
.container {
|
||||
width:100%;
|
||||
height:auto;
|
||||
display:block;
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
.text1 {
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 32px;
|
||||
line-height: 39px;
|
||||
text-transform: uppercase;
|
||||
color: #000000;
|
||||
padding: 70px 0px 0px 0px;
|
||||
|
||||
}
|
||||
.text2 {
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-size: 48px;
|
||||
line-height: 58px;
|
||||
text-transform: uppercase;
|
||||
color: #000000;
|
||||
padding: 0px 0px 30px 0px;
|
||||
}
|
||||
.text3 {
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 19px;
|
||||
line-height: 24px;
|
||||
color: #000000;
|
||||
|
||||
}
|
||||
.text4 {
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 19px;
|
||||
line-height: 24px;
|
||||
color: #000000;
|
||||
padding: 0px 100px 60px 0px;
|
||||
}
|
||||
.cardCenter {
|
||||
width:100%;
|
||||
display:flex;
|
||||
justify-content:center;
|
||||
padding: 50px 0px 0px 0px;
|
||||
flex-wrap: wrap;
|
||||
|
||||
|
||||
}
|
||||
.card1 {
|
||||
width: 320px;
|
||||
height: 280px;
|
||||
display:block;
|
||||
text-align: center;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
||||
padding: 50px 0px 0px 0px;
|
||||
margin: 20px 20px 0px 0px;
|
||||
|
||||
}
|
||||
.text5 {
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
|
||||
font-weight: 400;
|
||||
font-size: 19px;
|
||||
text-align: center;
|
||||
color: #000000;
|
||||
|
||||
}
|
||||
.img-card {
|
||||
width:100px;
|
||||
padding: 0px 0px 20px 0px;
|
||||
}
|
Loading…
Reference in New Issue
Block a user