Cria o header desktop e mobile

This commit is contained in:
Emerson Lins Costa Pinto 2022-10-07 20:24:31 -03:00
parent 08edfea66b
commit 1f52599da8
3 changed files with 37 additions and 0 deletions

21
index.html Normal file
View File

@ -0,0 +1,21 @@
<!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>Atividade 1 m3</title>
<link rel="stylesheet" href="./materiais/styles/main.css">
</head>
<body>
<header class="page-header">
<a href="/">
<img class="header-logo" src="materiais/imagens/Logo M3 [branco]1.png" alt="Logo M3">
</a>
</header>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

16
materiais/styles/main.css Normal file
View File

@ -0,0 +1,16 @@
*{
margin: 0;
padding: 0;
}
.page-header{
display: flex;
justify-content: center;
background-color: #000000;
padding: 28px 0px 29px 0px;
}
.header-logo{
display: block;
}