Skip to content

Michely1B/Parte-2-HTML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 

Repository files navigation

Parte-2-HTML

Produtos.html

<head>

	<meta charset="utf-8">
		<title> Produtos - Barbearia Alura </title>

            <link rel="stylesheet" href="reset.css">
            <link rel="stylesheet" href="produtos.css">
</head>

<body>

	<header>
    	<div class="caixa">
        <h1><img src="logo.png"></h1>
   			<nav>
        		<ul>
          			<li><a href-"index.html">Home</a></li>
          			<li><a href-"produtos.html">Produtos</a></li>
          			<li><a href-"contato.html">Contato</a></li>
       			</ul>
   			</nav> 
  		</div>
	</header>

<main>
	<ul class="produtos">
		<li>
			<h2>Cabelo</h2>
			<img src="cabelo.jpg">
			<p class="produto-descricao">Na tesoura ou máquina, como o cliente preferir</p>
			<p class="produto-preco">R$25,00</p>
		</li>

		<li>
			<h2>Barba</h2>
			<img src="barba.jpg">
			<p class="produto-descricao">Corte e desenho profissional de barba</p>
			<p class="produto-preco">R$18,00</p>
		</li>

		<li>
			<h2>Cabelo + Barba</h2>
			<img src="cabelo+barba.jpg">
			<p class="produto-descricao">Pacote completo de cabelo e barba</p>
			<p class="produto-preco">R$35,00</p>
		</li>
	</ul>
</main>

<footer>
	<img src="logo-branco.png">
	<p class="copyright">&copy; Copyright Barbearia Alura - 2019
</footer>

</body>

Produtos.css

header { background:#BBBBBB; padding: 20px 0; }

.caixa { position: relative; width: 940px; margin: 0 auto; }

nav { position: absolute; top: 110px; right: 0; }

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: #C78C19; text-decoration: underline; cursor: pointer; }

.produtos { width: 940px; margin: 0 auto; padding: 50px 0;

}

.produtos li { display: inline-block; text-align: center; width: 30%; vertical-align: top; margin: 0 1.5%; padding: 30px 20px; box-sizing: border-box; border: 2px solid #000000; border-radius: 10px; }

.produtos li:hover { border-color: #C78C19; cursor: pointer; }

.produtos li:active { border-color: #088C19; }

.produtos li:hover h2{ font-size: 34px; }

.produtos h2 { font-size: 30px; font-weight: bold; }

.produto-descricao { font-size: 18px; }

.produto-preco { font-size: 22px; font-weight: bold; margin: 10px 0 0; margin top: 10px; }

footer { text-align: center; background: url(bg.jpg); padding: 40px 0; }

.copyright { color: #FFFFFF; font-size: 13px; margin: 20px 0 0; }

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published