<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>Contacto - Barberia Alura</title>
<link rel="stylesheet" href="/Curso_02_03/reset.css">
<link rel="stylesheet" href="/Curso_02_03/contacto.css">
</head>
<body>
<header>
<div class="caja">
<h1><img src="/Curso_02_03/img/logo.png" class="logo" alt="" srcset=""></h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="productos.html">Productos</a></li>
<li><a href="contacto.html">Contacto</a></li>
</ul>
</nav>
</div>
</header>
<main>
<form action="">
<label for="name">Nombre Completo</label>
<input type="text" id="name">
<label for="email">Correo electronico</label>
<input type="text" id="email">
<label for="telefono">Teléfono</label>
<input type="text" id="telefono">
<input type="submit" value="Enviar formulario">
</form>
</main>
<footer>
<img src="img/logo-blanco.png" alt="" srcset="">
<p class="copyright">© Copyright Barbería Alura 2022</p>
</footer>
</body>
</html>
CSS
header{
background-color: #bbbbbb;
padding: 20px 0;
}
.caja{
width: 940px;
position: relative;
margin: 0 auto;
}
nav{
position: absolute;
top: 110px;
right: 0px;
}
nav li{
display: inline;
margin: 0 0 0 15px;
}
nav a{
text-transform: uppercase;
color: #000000;
font-weight: bold;
font-size: 22px;
text-decoration: none;
}
nav a:hover{
color: darkgoldenrod;
}
main{
width: 940px;
margin: 0 auto;
}
form{
margin: 40px 0;
}
form label{
display: block;
font-size: 20px;
margin: 0 0 10px;
}
form input{
display: block;
margin: 0 0 20px;
padding: 10px 25px;
width: 50%;
}
footer{
text-align: center;
background: url(img/bg.jpg);
padding: 40px;
}
.copyright{
color: #ffffff;
font-size: 13px;
margin: 20px;
}