Header Html Simples
Header Html e Css
Header Html Estilo Vintage
Header Html Simples
O elemento HTML <header> representa um grupo de suporte introdutório ou navegacional. Pode conter alguns elementos de cabeçalho mas também outros elementos como um logo, seções de cabeçalho, formulário de pesquisa, e outros.
Veja neste artigo como criar um Header simples personalizado com html css.
Nesta seção, projetaremos uma estrutura simples na tag <header> e a <h2> para inserirmos o titulo.
Essas são as tags que usaremos para criar o nosso Header simples com css.
Vamos Adicionar o HTML
<header class="box-header">
<h2 class="the-title">Header Title</h2>
</header>
Vamos Adicionar o CSS
Nesta seção, usaremos algumas propriedades CSS para estilizar o nosso Header simples com CSS.
Lembrando aqui que usamos a font do google Amita.
Além disso se você não sabe como inserir font do google no html e css.
Veja detalhado aqui neste outro artigo. Como usar fonts do Google no CSS!
/*FONTE DO GOOGLE*/
@import url('https://fonts.googleapis.com/css2?family=Amita:wght@400;700&display=swap');
.the-title {
position: relative;
padding: 0;
margin: 0;
font-family: 'Amita';
font-weight: 400;
font-size: 40px;
color: #080808;
-webkit-transition: all 0.4s ease 0s;
-o-transition: all 0.4s ease 0s;
transition: all 0.4s ease 0s;
}
.the-title span {
display: block;
font-size: 0.5em;
line-height: 1.3;
}
.the-title em {
font-style: normal;
font-weight: 600;
}
.box-header .the-title {
text-align: center;
padding-bottom: 5px;
}
.box-header .the-title:before {
width: 40px;
height: 8px;
display: block;
content: "";
position: absolute;
bottom: 2px;
left: 50%;
margin-left: -20px;
background-color: #ffcc02;;
}
.box-header .the-title:after {
width: 130px;
height: 1px;
display: block;
content: "";
position: relative;
margin-top: 10px;
left: 50%;
margin-left: -65px;
background-color: #ffcc02;;
}
Combinando as Duas seções acima com Html e Css temos o seguinte Resultado!
Veja o Resultado baixo!


Pretty great post.I simply stumble upon yur blog and wished to say that I hzve really enjoyed surfing
around your wweblog posts. In any case I will be subscribing
on your rss feed andd I’m hoping you write
again very soon!