feat: Adiciona header desktop e mobile
This commit is contained in:
parent
db4ea918c8
commit
269217bc9f
9
assets/images/logo-m3.svg
Normal file
9
assets/images/logo-m3.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 19 KiB |
@ -0,0 +1,17 @@
|
|||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box; /*mantem a largura do elemento determinada no widht e nao adiciona o tamanho do padding no calculo, porem ele vai estar la*/
|
||||||
|
}
|
||||||
|
|
||||||
|
.page-header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 28px 0;
|
||||||
|
background: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-header {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
12
index.html
12
index.html
@ -1,15 +1,19 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="pt-BR">
|
<html lang="pt-BR">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
|
||||||
<title>Desafio Landing Page</title>
|
<title>Desafio Landing Page</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="/assets/styles/main.css" />
|
<link rel="stylesheet" href="/assets/styles/main.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<header class="page-header">
|
||||||
|
<a href="/">
|
||||||
|
<img class="logo-header" src="/assets/images/logo-m3.svg" alt="Logo M3 Academy" />
|
||||||
|
</a>
|
||||||
|
</header>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user