feat(header):criei o html e css

This commit is contained in:
Tiago Trevisani 2022-10-11 18:17:48 -04:00
parent 89ee7124ac
commit 6b3fca3c38
7 changed files with 49 additions and 0 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

23
index.html Normal file
View File

@ -0,0 +1,23 @@
<!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>Desafio M3</title>
<link rel="stylesheet" href="./styles/main.css">
</head>
<body>
<header class="logo-page">
<a href="/">
<img src="./recursos/imagens/Logo-M3Academy01.png" alt="logo M3">
</a>
</header>
</body>
</html>

BIN
recursos/.DS_Store vendored Normal file

Binary file not shown.

BIN
recursos/imagens/.DS_Store vendored Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

26
styles/main.css Normal file
View File

@ -0,0 +1,26 @@
* {
margin: 0;
box-sizing: border-box;
}
.logo-page {
background: #000000;
width: 100%;
padding: 29px 0;
justify-content: center;
align-items: center;
display: flex;
}
.logo-page a {
width: 12%;
}
.logo-page img {
width: 100%;
}
@media (max-width: 1024px) {
.logo-page a {
width: 54%;
}
}