https://guiga303.github.io/GuigaByte/ index.html
<!DOCTYPE html>
<html lang = "pt-br">
<head>
<meta charset = "UTF-8">
<meta name="viewport" content="width=device-width">
<title>GuigaByte</title>
<link rel="stylesheet" href="reset.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<div class="cabecalho">
<h1><img src="logo.jpg" class="logo"></h1>
<h2>GuigaByte</h2>
<a href="contato.html">Contato</a>
</div>
</header>
<main>
</main>
<footer>
</footer>
</body>
</html>
style.css
.logo {
display: inline-block;
max-width:200px;
max-height:150px;
width: auto;
height: auto;
}
h1 {
display: inline-block;
}
header {
background: #BBBBBB;
padding: 20px 0;
}
.cabecalho {
position: relative;
width: 940px;
margin: 0 auto;
}
h2 {
display: inline-block;
text-align: center;
margin-left: 150px;
font-weight: bold;
font-size: 50px;
}
a {
text-transform: uppercase;
color: #000000;
font-weight: bold;
font-size: 22px;
text-decoration: none;
display: inline-block;
position: absolute;
top: 80px;
right: 0;
}
a:hover {
color: #C78C19;
text-decoration: underline;
}