.

terça-feira

Menu Estilo CSS3 Com Botão de Registro - Exclusivo

ACESSOS:
Deixe seu comentário

Nesta postagem compartilho com vocês que acompanham o DicasHot este menu CSS3. Menu CSS3 é popular por causa de seu belo design. E além de tudo ainda tem o botão de registro. Espero que gostem. Pesso a vocês que participem do blog DicasHot  tornando-se membro para ajudar no crescimento... Enfim.

Coloquei abaixo um GIF do menu para que vejam uma demonstração:




Para colocar no blogger... Entre em "Modelo" - "Editar HTML", dê um Ctrl + F e procure pela tag
]]></b:skin>
Tendo encontrada a tag, cole ACIMA dela o seguinte código
#nav, #nav ul {
list-style: none outside none;
margin: 0;
padding: 0;
}
#nav ul {
background-color: #222222;
border-color: #222222;
border-radius: 0 5px 5px 5px;
border-style: solid;
border-width: 0 1px 1px;
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
left: 0;
max-height: 0;
overflow: hidden;
position: absolute;
top: 52px;
transform-origin: 0 0 0;
transition: all 100ms ease 0s;
-webkit-transition: all 100ms ease 0s;
-moz-transition: all 100ms ease 0s;
-o-transition: all 100ms ease 0s;
width: 180px;
z-index: 60;
}
#menu-principal {
background: url("https://lh4.googleusercontent.com/-siHn_vx4ELU/UAtMzDAc-pI/AAAAAAAACao/aAhlLoY5fvA/s58/menu_bg.png") repeat-x scroll center top #212121;
height: 58px;
}
#nav {
clear: both;
font-size: 12px;
height: 58px;
margin: 0 auto;
padding: 0 0 0 9px;
position: relative;
width: 957px;
}
#nav li {
background: url("https://lh6.googleusercontent.com/-1AnCUXwg5Wo/UAtMzUmxe1I/AAAAAAAACaw/xY2wKiAIQ-Q/s49/menu_line.png") no-repeat scroll right 5px transparent;
float: left;
list-style: none outside none;
position: relative;
}
#nav li a {
color: #FFFFFF;
display: block;
float: left;
font-weight: normal;
height: 30px;
padding: 23px 20px 0;
position: relative;
text-decoration: none;
text-shadow: 1px 1px 1px #000000;
}
#nav li:hover > a {
color: #00B4FF;
}
#nav li:hover, #nav a:focus, #nav a:hover, #nav a:active {
background: none repeat scroll 0 0 #121212;
outline: 0 none;
}
#nav li:hover ul.subs {
left: 0;
max-height: 260px;
top: 52px;
width: 180px;
}
#nav ul li {
background: none repeat scroll 0 0 transparent;
width: 100%;
}
#nav ul li a {
float: none;
}
#nav ul li:hover > a {
background-color: #121212;
color: #00B4FF;
}
#cabecera {
background: url("https://lh6.googleusercontent.com/-Nr0qu_dIMmk/UQ8oW-YHR-I/AAAAAAAAEvU/krAbPMVZsI8/s1600/header4.jpg") repeat-x scroll center top transparent;
border-bottom: 3px solid #222;
border-top: 3px solid #222;
box-shadow: 0 -1px 0 0 #000 inset, 0 1px 3px rgba(0, 0, 0, 0.5);
height: 60px;
position: relative;
}
.mask-doc {
background: url("https://lh4.googleusercontent.com/-EUlBCIsmHKM/UDUFbthE03I/AAAAAAAAChE/H8W_nAqmKWo/h120/doc.png") repeat scroll 0 0 transparent;
height: 100%;
opacity: 0.1;
position: absolute;
top: 0;
width: 100%;
z-index: 1;
}
#contenedor-general {
background: url("https://lh6.googleusercontent.com/-1L0-UIo7EiU/UQ8a8a5JmLI/AAAAAAAAEuU/7NBzYqRLjWI/s1600/mainbg.gif") repeat-y scroll 730px 0 #FFF;
box-shadow: -1px 0 0 #D8D8D8 inset, 1px 0 0 #D8D8D8 inset;
margin: 0 auto;
overflow: hidden;
width: 1000px;
}
.shadow:after {
background: url("https://lh6.googleusercontent.com/-23FM6KQLSoA/UQ8a9M76lFI/AAAAAAAAEus/b3GFcS6qgkY/s1600/shadow-r.png") no-repeat scroll 100% 0 transparent;
bottom: 0;
content: "";
height: 45px;
position: absolute;
right: 0;
width: 404px;
z-index: 0;
}
.shadow:before {
background: url("https://lh3.googleusercontent.com/-eXVh73LzBG4/UQ8a8_7sn1I/AAAAAAAAEuw/84c4MU9DiLI/s1600/shadow-l.png") no-repeat scroll 0 0 transparent;
bottom: 0;
content: "";
height: 45px;
left: 0;
position: absolute;
width: 404px;
z-index: 0;
}
.shadow {
bottom: -45px;
height: 45px;
position: absolute;
right: 0;
width: 100%;
z-index: 0;
}
#footer {
background: url("https://lh4.googleusercontent.com/-30SFISocChA/UQ8a7QYnFvI/AAAAAAAAEtw/zMdm8pW4U4E/s1600/dark-noise.png") repeat scroll 0 0 transparent;
height: 88px;
margin: 0 auto 40px;
position: relative;
width: 1000px;
}
.footer {
background: url("https://lh4.googleusercontent.com/-1rU31WQu1Dc/UQ8a8Wl3ksI/AAAAAAAAEu4/MXT49CDprbQ/s1600/noise.png") repeat scroll left top #EEEEEE;
border-width: 1px 1px 0;
box-shadow: 0 0 1px rgba(0, 0, 0, 0.05) inset;
height: 44px;
position: relative;
width: 100%;
}
.conten-footer {
margin: 0 auto;
width: 840px;
}
.footer .footer-edge {
background: url("https://lh5.googleusercontent.com/-5UYwVkJ9jEM/UQ8a5L4NQPI/AAAAAAAAEtM/QAo-IEr6eEE/s1600/footer-edge.png") repeat-x scroll 0 0 transparent;
height: 7px;
position: absolute;
top: -7px;
width: 100%;
}
.conten-footer > p.copyright {
color: #999999;
float: left;
font-size: 11px;
line-height: 1.4;
margin: 0;
padding: 22px 0 0 20px;
position: relative;
top: -7px;
width: auto;
}
ul.icon-footer {
height: 159px;
margin: 30px auto 0;
padding: 0;
width: 880px;
}
ul.icon-footer > li {
clear: none;
float: left;
list-style: none outside none;
margin-left: 26px;
}
ul.icon-footer > li a {
color: #999999;
display: block;
font: 700 12px arial,sans-serif;
padding: 96px 0 0;
position: relative;
text-align: center;
width: 95px;
}
ul.icon-footer > li .big-icon {
background: url("https://lh3.googleusercontent.com/-HWegNCSscYg/UQ8a6Y6a3cI/AAAAAAAAEtc/VBkLj3Jbs-o/s1600/icon-32.png") no-repeat scroll 0 0 transparent;
bottom: 0;
height: 86px;
left: 6px;
position: absolute;
right: 0;
top: 0;
width: 84px;
}
ul.icon-footer > li .sitemap .big-icon {background-position: 8px -3px;}
ul.icon-footer > li .sitemap:hover .big-icon {background-position: 8px -115px;}
ul.icon-footer > li .historial .big-icon {background-position: -78px -3px;}
ul.icon-footer > li .historial:hover .big-icon {background-position: -78px -115px;}
ul.icon-footer > li .descargar .big-icon {background-position: -157px -3px;}
ul.icon-footer > li .descargar:hover .big-icon {background-position: -157px -115px;}
ul.icon-footer > li .rss .big-icon {background-position: -230px -3px;}
ul.icon-footer > li .rss:hover .big-icon {background-position: -230px -115px;}
ul.icon-footer > li .staff .big-icon {background-position: -308px -3px;}
ul.icon-footer > li .staff:hover .big-icon {background-position: -308px -115px;}
ul.icon-footer > li .contacto .big-icon {background-position: -481px -3px;}
ul.icon-footer > li .contacto:hover .big-icon {background-position: -481px -115px;}
ul.icon-footer > li .comunidad .big-icon {background-position: -570px -3px;}
ul.icon-footer > li .comunidad:hover .big-icon {background-position: -570px -115px;}
#main-col {
float: left;
overflow: hidden;
width: 730px;
}
.separador {
border-top: 1px solid #E8E8E8;
clear: both;
color: #BFBFBF;
font-size: 11px;
margin: 17px 20px 2px;
text-align: center;
}
.separador > span {
background-color: #FFFFFF;
padding: 0 5px;
position: relative;
top: -8px;
}
ul.w2b_recent_comments{list-style:none;margin:0;padding:0;}
.w2b_recent_comments li:first-child {padding-top: 0 !important;}
.w2b_recent_comments li {
border-bottom: 2px dotted #EEEEEE;
clear: both;
display: block;
list-style: none outside none;
margin: 0 5px;
overflow: hidden;
padding: 10px 0 !important;
}
.w2b_recent_comments li .avatarImage {
float: left;
margin: 0 10px 0 0;
overflow: hidden;
position: relative;
}
.w2b_recent_comments li img {
border: 1px solid #DDD;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
display: block;
padding: 3px;
position: relative;
}
.w2b_recent_comments li span {
color: #777777;
display: block;
font-size: 12px;
font-style: italic;
line-height: 1.4;
margin-left: 64px;
margin-top: 4px;
}
.w2b_recent_comments li a {
color: #555555;
font-weight: bold;
text-decoration: none;
text-transform: capitalize;
}
.cool {overflow: hidden;padding: 10px 20px;}
.w2b_recent_comments li:last-child {
border-bottom: medium none;
}
.submenu {
background: none repeat scroll 0 0 #EEEEEE;
border-color: #FFFFFF #CCCCCC #CCCCCC;
border-style: solid;
border-width: 1px;
height: 40px;
margin-bottom: 10px;
}
.clear {
clear: both;
}
.banners > a {
float: left;
line-height: 0;
margin-right: 14px;
overflow: hidden;
position: relative;
}
.banners span {
background: rgba(0, 0, 0, 0.7);
color: #FFFFFF;
font-size: 15px;
font-weight: bold;
height: 125px;
left: 0;
line-height: 125px;
position: absolute;
text-align: center;
top: 0;
width: 125px;
z-index: 100;
}
.banners > a:hover span {
top: -125px;
}
#gigazero{
background: rgba(0, 0, 0, 0.6);
font-size: 25px;
width: 680px;
}
.master-album {
border-bottom: 5px solid #00AAFF;
float: left;
height: 200px;
margin-bottom: 25px;
margin-right: 15px;
overflow: hidden;
width: 217px;
position:relative;
}
/*transition*/
.mask-post, .master-album > h1, .autor-data, .more-post, .share-post > li, .banners span  {
transition: all 300ms ease-in-out 0s;
-moz-transition: all 300ms ease-in-out 0s;
-webkit-transition: all 300ms ease-in-out 0s;
-o-transition: all 300ms ease-in-out 0s;
}
/*transition*/
.mask-post {
background: url("https://lh3.googleusercontent.com/-fILTzVyPxvI/UQ8a42_s1aI/AAAAAAAAEs8/fUn6mEdUZwo/s1600/doc.png") repeat scroll 0 0 rgba(0, 0, 0, 0.4);
float: left;
height: 200px;
opacity: 0.3;
position: absolute;
top: 0;
width: 217px;
}
.master-album:hover .mask-post {
background-color: #000000;
opacity: 0.65;
}
.master-album img {
margin-left: -5px;
margin-top: -5px;
max-width: 400px;
min-width: 225px;
}
.autor-data {
font-size: 11px !important;
height: 23px !important;
line-height: 22px !important;
text-align: right !important;
top: 0 !important;
}
.master-album:hover .autor-data {
top: -25px !important;
}
.master-album > h1, .autor-data, .more-post {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0.8);
border-top: 1px solid #111111;
bottom: 0;
color: #FFFFFF;
display: block;
font-size: 12px;
font-weight: bold;
height: 32px;
line-height: 32px;
margin: 0;
overflow: hidden;
padding: 0 15px;
position: absolute;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
width: 187px;
z-index: 100;
}
.master-album .more-post {
bottom: -35px;
text-align:center;
}
.master-album:hover .more-post {
bottom: -0;
transition-delay: 300ms;
-moz-transition-delay: 300ms;
-webkit-transition-delay: 300ms;
-o-transition-delay: 300ms;
}
.master-album:hover h1 {
bottom: -35px !important;
}
.share-post {
left: 45px;
position: absolute;
top: 70px;
z-index: 200;
}
.share-post > li {
display: inline-block;
position: relative;
top: -105px;
}
.share-post li > a {
background-color: rgba(0, 0, 0, 0.9);
border-radius: 40px 40px 40px 40px;
display: block;
height: 30px;
width: 30px;
}
.master-album:hover .share-post > li.fb-b {
transition-delay: 200ms;
-moz-transition-delay: 200ms;
-webkit-transition-delay: 200ms;
-o-transition-delay: 200ms;
top:0;
}
.master-album:hover .share-post > li.tb-b {
transition-delay: 300ms;
-moz-transition-delay: 300ms;
-webkit-transition-delay: 300ms;
-o-transition-delay: 300ms;
top:0;
}
.master-album:hover .share-post > li.gp-b {
transition-delay: 400ms;
-moz-transition-delay: 400ms;
-webkit-transition-delay: 400ms;
-o-transition-delay: 400ms;
top:0;
}
.master-album:hover .share-post > li.ce-b {
transition-delay: 500ms;
-moz-transition-delay: 500ms;
-webkit-transition-delay: 500ms;
-o-transition-delay: 500ms;
top:0;
}
.share-post .icon {
background: url("https://lh3.googleusercontent.com/-HWegNCSscYg/UQ8a6Y6a3cI/AAAAAAAAEtc/VBkLj3Jbs-o/s1600/icon-32.png") no-repeat scroll 0 0 transparent;
display: block;
height: 20px;
padding: 5px 0 0 5px;
width: 20px;
}
.icon.fb {background-position: -683px -157px;}
.icon.tb {background-position: -716px -157px;}
.icon.gp {background-position: -749px -157px;}
.icon.ce {background-position: -782px -157px;}
#sidebar {
float: right;
padding: 10px;
width: 250px;
}
#sidebar .widget {
margin: 0 0 15px;
overflow: hidden;
padding: 0;
}
#sidebar h2 {
background-color: #FCFCFC;
border-bottom: 4px solid #EEEEEE;
border-top: 4px solid #EEEEEE;
color: #999999;
font-family: Georgia;
font-size: 13px;
font-style: italic;
font-weight: normal;
line-height: 1;
margin: 0 0 10px;
padding: 8px 9px;
}
.banners.relative span {
background-color: rgba(0, 0, 0, 0.4);
background-position: 200px center;
background-repeat: no-repeat;
height: 63px;
line-height: 63px;
padding: 0 0 0 20px;
text-align: left;
width: 230px;
}
.banners.relative > a {
margin-right: 0;
}
.banners.relative span.pd {background-image: url("https://lh3.googleusercontent.com/-7QlYr9wrrsg/UQ8a8ZryjFI/AAAAAAAAEuc/pl0hb2NMMe4/s1600/peds.png");}
.banners.relative span.er {background-image: url("https://lh4.googleusercontent.com/-6LxlTyrBQBA/UQ8a74dJKpI/AAAAAAAAEuE/F_iPVpJpVm4/s1600/link.png");}
.banners.relative span.sf {background-image: url("https://lh3.googleusercontent.com/-y-RkiZf9u7w/UQ8a9vZhKNI/AAAAAAAAEu0/8nlHG0C-8C0/s1600/staff.png");}
.banners.relative span.aex {background-image: url("https://lh5.googleusercontent.com/-0CxC12t6bTA/UQ8a4_ImNcI/AAAAAAAAEtA/3dCCFz-_h7I/s1600/exe.png");}
.stats-data {
clear: both;
display: block;
float: none;
overflow: hidden;
padding-left: 8px !important;
}
.stats-data li {
border-right: 1px solid #CCCCCC;
color: #999999;
float: left;
font-size: 10px;
font-weight: normal;
line-height: 12px;
margin-right: 10px !important;
margin-top: 0 !important;
padding: 5px 15px 2px 0 !important;
text-align: left;
}
.stats-data li span {
color: #333333;
display: block;
font-size: 15px;
font-weight: bold;
margin-bottom: 2px;
}
.home-link {
background-color: #FFFFFF;
border: 1px solid rgba(0, 0, 0, 0.3);
border-radius: 3px 3px 3px 3px;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset, 0 1px #FFFFFF;
color: #444444 !important;
display: block;
font-weight: bold;
height: 36px;
line-height: 36px;
margin: 0 auto;
width: 140px;
}
.home-link:hover {
border: 1px solid rgba(0, 0, 0, 0.5);
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2) inset, 0 1px #FFFFFF;
color: #111111 !important;
text-decoration: none;
}
#blog-pager-newer-link a, #blog-pager-older-link a {
background-color: #00A5F0;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 4px 4px 4px 4px;
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4) inset, 0 1px #FFFFFF;
color: #FFFFFF;
display: block;
font-size: 12px;
font-weight: bold;
height: 36px;
line-height: 36px;
text-shadow: 0 -1px rgba(0, 0, 0, 0.2);
width: 150px;
}
#blog-pager-newer-link a:hover, #blog-pager-older-link a:hover {
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4) inset, 0 1px #FFFFFF, 0 0 0 30px rgba(255, 255, 255, 0.21) inset;
opacity: 0.9;
}
#blog-pager {
background-color: #F7F7F7;
border-top: 1px solid #DDD;
box-shadow: 0 0 0 1px #FFF inset;
margin-bottom: 25px;
margin-right: 25px;
padding: 15px 25px;
text-align: center;
}
#blog-pager-newer-link {
float: left;
}
#blog-pager-older-link {
float: right;
}
#footer .icon {
background: url("https://lh3.googleusercontent.com/-HWegNCSscYg/UQ8a6Y6a3cI/AAAAAAAAEtc/VBkLj3Jbs-o/s1600/icon-32.png") no-repeat scroll 0 0 transparent;
display: block;
float: right;
height: 80px;
width: 41px;
}
#footer .icon.html {background-position: -867px -133px;}
#footer .icon.css {background-position: -827px -133px;}
.powered > a {
float: right;
margin-right: 10px;
}
.powered {
padding-right: 10px;
}
.list-label-widget-content ul li {
border: 1px solid #DDDDDD;
float: left;
font-style: italic;
margin: 5px 5px 0 0 !important;
padding: 5px 10px !important;
}
.widget-content.list-label-widget-content a {
color: #777777;
font-weight: bold;
}
.widget-content.list-label-widget-content span {
color: #0984ED;
font-weight: bold;
}
.logo {
background: url("https://lh6.googleusercontent.com/-1AnCUXwg5Wo/UAtMzUmxe1I/AAAAAAAACaw/xY2wKiAIQ-Q/s49/menu_line.png") no-repeat scroll right 5px transparent;
float: left;
height: 44px;
overflow: hidden;
padding: 5px 15px 0 0;
}
.submenu > ul {
margin-left: 25px;
overflow: hidden;
width: 500px;
}
.submenu li {
border-right: 1px solid #CCC;
float: left;
}
.submenu li > a {
color: #555555;
display: block;
font-weight: bold;
padding: 13px 25px;
}
.submenu li.selected:first-child {
border-left: 1px solid #CCC;
}
.submenu li.selected {
background: #FFF;
border-left: 1px solid #CCC;
border-right: 1px solid #CCC;
}
.submenu li.selected a {
color: #222222;
}
.submenu li > a:hover {
color: #000;
}
.login {
float: right;
margin: 15px 10px 0 0;
position: relative;
}
.login > a {
border: 1px solid #000000;
border-radius: 3px 3px 3px 3px;
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
color: #FFFFFF;
display: inline-block;
font-size: 11px;
font-weight: bold;
line-height: 1.5;
margin-left: 10px;
padding: 4px 15px;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.login > a.iniciar {
background:#0088B9;
background-image: linear-gradient(bottom, #006395 0%, #0088B9 100%);
background-image: -o-linear-gradient(bottom, #006395 0%, #0088B9 100%);
background-image: -moz-linear-gradient(bottom, #006395 0%, #0088B9 100%);
background-image: -webkit-linear-gradient(bottom, #006395 0%, #0088B9 100%);
background-image: -ms-linear-gradient(bottom, #006395 0%, #0088B9 100%);
background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #006395),color-stop(1, #0088B9));
}
.login > a.registro {
background:#444444;
background-image: linear-gradient(bottom, #222222 0%, #444444 100%);
background-image: -o-linear-gradient(bottom, #222222 0%, #444444 100%);
background-image: -moz-linear-gradient(bottom, #222222 0%, #444444 100%);
background-image: -webkit-linear-gradient(bottom, #222222 0%, #444444 100%);
background-image: -ms-linear-gradient(bottom, #222222 0%, #444444 100%);
background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #222222),color-stop(1, #444444));
}
.login > a.iniciar:hover {background:#0088B9 !important;}
.login > a.registro:hover {background:#444444 !important;}
.footer-info-p {
float: left;
line-height: 2;
margin: 10px 0 0 25px;
}
Agora, procure pela tag
<body>
Tendo encontrada a tag, cole ABAIXO dela o seguinte código
<div id="menu-principal">
<ul id="nav">
<a class="logo" href="http://dicashot.blogspot.com.br/"><img alt="DicasHot" src="http://1.bp.blogspot.com/-7qbz1PfWCwU/UpTUFhiMGSI/AAAAAAAABm0/dlKjoiRoLV4/s1600/DicasHot.png" /></a>
<li><a href="http://dicashot.blogspot.com.br/">Home</a></li>
<li><a class="hsubs" href="#">Seccion</a>
<ul class="subs">
<li><a href="#">Seccion</a></li>
<li><a href="#">Seccion</a></li>
</ul>
</li>
<li><a class="hsubs" href="#">Seccion</a>
<ul class="subs">
<li><a href="#">Seccion</a></li>
<li><a href="#">Seccion</a></li>
</ul>
</li>
<li><a href="#">Seccion</a></li>
<li><a href="#">Seccion</a></li>
<li><a class="hsubs" href="#">Seccion</a>
<ul class="subs">
<li><a href="#">Seccion</a></li>
<li><a href="#">Seccion</a></li>
</ul>
</li>
<div class="login">
<a class="iniciar" href="URL da página de inicio">Iniciar</a>
<a class="registro" href="URL da página de registro">Registro</a>
</div>
</ul>
</div>
Tendo colado o código, faça as modificações pedidas no código, salve e pronto!!!

Deixe seu comentário. O que você achou do menu?

Cursos 24 Horas