
DEMO
Menus nos blogs nunca são demais. Economizam espaço, enfeitam, organizam e facilitam para o leitor as buscas no blog. Esse modelo é do Codepen e é bem fácil de instalar e manusear, sendo implementado no widget do Blogger, na parte de layout.
Salve. Agora clique em Layout...
Clique em Adicionar um Gadget
Ao abrir, clique em HTML/Javascript
Cole então o próximo código fazendo as modificações necessárias.
<style>
ul.abanico {
position: relative;
width: 500px;
height: 300px;
margin: 10px auto;
list-style: none;
font: normal 16px "arial narrow", sans-serif;
ul.abanico li {
position: absolute;
bottom: 0;
width: 140px;
height: 300px;
background: orange;
line-height: 300px;
text-align: center;
-moz-transform-origin: top center;
-webkit-transform-origin: top center;
transform-origin: top center;
-moz-transition: all .4s ;
-webkit-transition: all .4s ;
transition: all .4s ;
ul.abanico li a {
text-shadow: 0.1em 0.1em 0.05em #333;
display: inline-block;
width: 140px;
height: 48px;
text-decoration: none;
color: white;
line-height: 40px;
vertical-align: bottom;
ul.abanico:hover li {
opacity: 1;
ul.abanico:hover li:nth-of-type(6) {
opacity: 0;
ul.abanico:hover li:nth-of-type(1) {
background: green;
-moz-transform: rotate(60deg);
-webkit-transform: rotate(60deg);
transform: rotate(60deg);
ul.abanico:hover li:nth-of-type(2) {
background: blue;
-moz-transform: rotate(32deg);
-webkit-transform: rotate(32deg);
transform: rotate(32deg);
ul.abanico:hover li:nth-of-type(3) {
background: purple;
-moz-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
ul.abanico:hover li:nth-of-type(4) {
background: red;
-moz-transform: rotate(-32deg);
-webkit-transform: rotate(-32deg);
transform: rotate(-32deg);
ul.abanico:hover li:nth-of-type(5) {
background: orange;
-moz-transform: rotate(-60deg);
-webkit-transform: rotate(-60deg);
transform: rotate(-60deg);
</style>
<ul class="abanico">
<li><a href="ENDEREÇO DO LINK 1">INICIO</a></li>
<li><a href="ENDEREÇO DO LINK 2">LINK 1</a></li>
<li><a href="ENDEREÇO DO LINK 3">LINK 2</a></li>
<li><a href="ENDEREÇO DO LINK 4">LINK 3</a></li>
<li><a href="ENDEREÇO DO LINK 5">LINK 4</a></li>
<li><a href="javascript:void();">MENU</a></li>
</ul>
Menus nos blogs nunca são demais. Economizam espaço, enfeitam, organizam e facilitam para o leitor as buscas no blog. Esse modelo é do Codepen e é bem fácil de instalar e manusear, sendo implementado no widget do Blogger, na parte de layout.
Salve. Agora clique em Layout...
Clique em Adicionar um Gadget
Ao abrir, clique em HTML/Javascript
Cole então o próximo código fazendo as modificações necessárias.
<style>
ul.abanico {
position: relative;
width: 500px;
height: 300px;
margin: 10px auto;
list-style: none;
font: normal 16px "arial narrow", sans-serif;
ul.abanico li {
position: absolute;
bottom: 0;
width: 140px;
height: 300px;
background: orange;
line-height: 300px;
text-align: center;
-moz-transform-origin: top center;
-webkit-transform-origin: top center;
transform-origin: top center;
-moz-transition: all .4s ;
-webkit-transition: all .4s ;
transition: all .4s ;
ul.abanico li a {
text-shadow: 0.1em 0.1em 0.05em #333;
display: inline-block;
width: 140px;
height: 48px;
text-decoration: none;
color: white;
line-height: 40px;
vertical-align: bottom;
ul.abanico:hover li {
opacity: 1;
ul.abanico:hover li:nth-of-type(6) {
opacity: 0;
ul.abanico:hover li:nth-of-type(1) {
background: green;
-moz-transform: rotate(60deg);
-webkit-transform: rotate(60deg);
transform: rotate(60deg);
ul.abanico:hover li:nth-of-type(2) {
background: blue;
-moz-transform: rotate(32deg);
-webkit-transform: rotate(32deg);
transform: rotate(32deg);
ul.abanico:hover li:nth-of-type(3) {
background: purple;
-moz-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
ul.abanico:hover li:nth-of-type(4) {
background: red;
-moz-transform: rotate(-32deg);
-webkit-transform: rotate(-32deg);
transform: rotate(-32deg);
ul.abanico:hover li:nth-of-type(5) {
background: orange;
-moz-transform: rotate(-60deg);
-webkit-transform: rotate(-60deg);
transform: rotate(-60deg);
</style>
<ul class="abanico">
<li><a href="ENDEREÇO DO LINK 1">INICIO</a></li>
<li><a href="ENDEREÇO DO LINK 2">LINK 1</a></li>
<li><a href="ENDEREÇO DO LINK 3">LINK 2</a></li>
<li><a href="ENDEREÇO DO LINK 4">LINK 3</a></li>
<li><a href="ENDEREÇO DO LINK 5">LINK 4</a></li>
<li><a href="javascript:void();">MENU</a></li>
</ul>