Vízszintes menü 10.
Kód
<div align="center">
<ul class="sonarmenu">
<li>
<a href="//aranymeli.gportal.hu">Főoldal</a></li>
<li>
<a href="//aranymeli.gportal.hu/gindex.php?pg=20199690">Segítségek</a></li>
<li>
<a href="//aranymeli.gportal.hu/gindex.php?pg=18012139">Kódok</a></li>
<li>
<a href="//aranymeli.gportal.hu/gindex.php?pg=19322271/">Grafika</a></li>
<li>
<a href="//aranymeli.gportal.hu/gindex.php?pg=35853283">Flash</a></li>
</ul>
</div>
<p>
<style type="text/css">
ul.sonarmenu{
list-style: none;
width: 560px;
}
ul.sonarmenu li{
display: inline;
}
ul.sonarmenu a{
position: relative;
display: inline-block;
color: black;
text-decoration: none;
margin: 10px 10px;
text-transform: uppercase;
font-family: "Trebuchet MS";
font-size: 15px;
letter-spacing: 2px;
border-bottom: 2px solid transparent;
}
ul.sonarmenu a:hover, ul.sonarmenu a:focus{
outline: none;
border-bottom: 2px solid #eeeeee;
}
ul.sonarmenu a::before, ul.sonarmenu a:after{
position: absolute;
top: 50%;
left: 50%;
width: 70px;
height: 70px;
border: 12px double rgba(0,0,0,0.1);
border-radius: 50%;
content: '';
opacity: 0;
-webkit-transform: translateX(-50%) translateY(-50%) scale(0.2);
-moz-transform: translateX(-50%) translateY(-50%) scale(0.2);
transform: translateX(-50%) translateY(-50%) scale(0.2);
}
ul.sonarmenu a:after{
width: 60px;
height: 60px;
border-width: 6px;
-webkit-transform: translateX(-50%) translateY(-50%) scale(0.8);
-moz-transform: translateX(-50%) translateY(-50%) scale(0.8);
transform: translateX(-50%) translateY(-50%) scale(0.8);
}
ul.sonarmenu a:hover:before, ul.sonarmenu a:hover:after{
-webkit-animation: pulsate 1.2s infinite;
-moz-animation: pulsate 1.2s infinite;
-ms-animation: pulsate 1.2s infinite;
animation: pulsate 1.2s infinite;
}
/* ### Keyframe animations ### */
@-webkit-keyframes pulsate{
30%{
opacity: 1;
-webkit-transform: translateX(-50%) translateY(-50%) scale(1);
}
100%{
opacity: 0.3;
-webkit-transform: translateX(-50%) translateY(-50%) scale(0.5);
}
}
@-moz-keyframes pulsate{
30%{
opacity: 1;
-moz-transform: translateX(-50%) translateY(-50%) scale(1);
}
100%{
opacity: 0.3;
-moz-transform: translateX(-50%) translateY(-50%) scale(0.5);
}
}
@-ms-keyframes pulsate{
30%{
opacity: 1;
-ms-transform: translateX(-50%) translateY(-50%) scale(1);
}
100%{
opacity: 0.3;
-ms-transform: translateX(-50%) translateY(-50%) scale(0.5);
}
}
@-keyframes pulsate{
30%{
opacity: 1;
transform: translateX(-50%) translateY(-50%) scale(1);
}
100%{
opacity: 0.3;
transform: translateX(-50%) translateY(-50%) scale(0.5);
}
} </style>
</p>
|