feat: Adiciona header desktop e mobile

This commit is contained in:
Cainã Milech 2022-10-11 09:21:59 -03:00
parent db4ea918c8
commit 269217bc9f
3 changed files with 34 additions and 4 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -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;
}

View File

@ -1,15 +1,19 @@
<!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">
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Desafio Landing Page</title>
<link rel="stylesheet" href="/assets/styles/main.css" />
</head>
<body>
<header class="page-header">
<a href="/">
<img class="logo-header" src="/assets/images/logo-m3.svg" alt="Logo M3 Academy" />
</a>
</header>
</body>
</html>