products.html
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<title>Produtos - Barbearia Alura</title>
<link rel="stylesheet" href="reset.css">
<link rel="stylesheet" href="products.css">
</head>
<body>
<header class="header">
<h1 class="logo" ><img src="logo.png" alt=""></h1>
<nav class="navigation">
<ul>
<li><a href="index.html">Home</a></li>
<li> <a href="products.html">Produtos</a></li>
<li><a href="contact.html">Contato</a></li>
</ul>
</nav>
</header>
<main>
<ul class="products">
<li class="items-products">
<h2 class="name-product">Cabelo</h2>
<img src="cabelo.jpg" alt="">
<p class="description">Na tesoura ou máquina, como o cliente preferir</p>
<p class="price">R$25,00</p>
</li>
<li class="items-products">
<h2 class="name-product">Barba</h2>
<img src="barba.jpg"description alt="">
<p class="description">Corte e desenho profissional de máquina</p>
<p class="price">R$18,00</p>
</li>
<li class="items-products">
<h2 class="name-product">Cabelo + Barba</h2>
<img src="cabelo+barba.jpg" alt="">
<p class="description">Pacote completo de cabelo e barba</p>
<p class="price">R$35,00</p>
</li>
</ul>
</main>
</body>
</html>
products.css
.header {
background: #bbb;
margin: 0;
display: flex;
justify-content: space-around;
align-items: center;
padding: 20px;
}
.navigation li {
display: inline;
margin-left: 15px;
}
.navigation a {
text-transform: uppercase;
color: #000;
font-weight: bold;
font-size: 22px;
text-decoration: none;
}
.products {
width: 1000px;
margin: 0 auto;
padding: 50px 0;
}
.items-products {
display: inline-block;
text-align: center;
width: 30%;
vertical-align: top;
border: solid #000 5px;
margin: 0 1.5%;
padding: 30px 20px;
box-sizing: border-box;
border-radius: 20px;
}
.name-product {
font-size: 30px;
font-weight: bold;
}
.description{
font-size: 18px;
}
.price {
font-size: 22px;
font-weight: bold;
margin-top: 10px;
}