Cria o header desktop e mobile
This commit is contained in:
parent
08edfea66b
commit
083bba2e79
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"editor.autoClosingBrackets": "languageDefined"
|
||||||
|
}
|
BIN
assets/images/m3-logo.png
Normal file
BIN
assets/images/m3-logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
17
assets/styles/main.css
Normal file
17
assets/styles/main.css
Normal 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-logo {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
22
index.html
Normal file
22
index.html
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<!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" />
|
||||||
|
|
||||||
|
<title>M3 Landing Page</title>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="assets/styles/main.css" />
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header class="page-header">
|
||||||
|
<a href="/">
|
||||||
|
<img class="header-logo" src="assets/images/m3-logo.png" alt="Logo M3" />
|
||||||
|
</a>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user