<!DOCTYPE html>
<html lang="es">
<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>BARBERIA-PRODUCTOS</title>
<link rel="stylesheet" href="reset.css">
<link rel="stylesheet" href="CursoHTMyCss_style_ejerc1_produc.css">
</head>
<body>
<header>
<div class="caja">
<h1><img src="img/logo.png" alt=""></h1>
<nav>
<ul>
<li><a href="CursoHTMyCss_ejerc1.html">HOME</a></li>
<li><a href="">CONTACTO</a></li>
<li><a href="">PRODUCTOS</a></li>
</ul>
</nav>
</div>
</header>
<main>
<ul class="productos">
<li>
<h2>cabello</h2>
<img src="img/cabello.jpg" alt="">
<p class="despric">Lorem ipsum dolor sit amet, consectetur at</p>
<p class="precio">$10.00</p>
</li>
<li>
<h2>Barba</h2>
<img src="img/barba.jpg" alt="">
<p class="despric">Lorem ipsum dolor sit amet, consectetur </p>
<p class="precio">$8.00</p>
</li>
<li>
<h2>Cabello+Barba</h2>
<img src="img/cabello+barba.jpg" alt="">
<p class="despric">Lorem ipsum dolor sit amet, consectetur</p>
<p class="precio">$20.00</p>
</li>
</ul>
</main>
</body>
</html>
header{
background-color: gainsboro;
padding: 20px 0;
}
.caja{
width: 940px;
position: relative;
margin: 0 auto;
}
nav{
position: absolute;
top: 110px;
right: 100px;
}
nav li{
display: inline;
margin: 0 0 0 15px;
}
nav a{
text-transform: uppercase;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif, sans-serif;
color: cadetblue;
font-weight: bold;
font-size: 30px;
text-decoration: none;
}
.productos {
width: 940px;
margin: 0 auto;
padding: 50px;
}
.productos li{
display: inline-block;
text-align: center;
width: 30%;
vertical-align: top;
margin: 0 1.5%;
padding: 30px 20px;
box-sizing: border-box;
}
.productos h2{
font-size: 30px;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif, sans-serif;
color: cadetblue;
font-weight: bold;
}
.despric{
font-size: 15px;
}
.precio{
font-size: 20px;
font-weight: bold;
margin-top: 10px;
}