<link href="http://fonts.googleapis.com/css?family=Bitter&subset=latin" rel="stylesheet" type="text/css">
<style>
.droplinetabs{
position: relative;
background: white;
text-align: left; /* set to left, center, or right */
font: bold 16px 'Bitter', sans-serif; /* use google font */
}
.droplinetabs *{
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.droplinetabs a{
text-decoration: none;
color: black;
display: inline-block;
font-weight: bold;
padding: 12px;
position: relative;
}
.droplinetabs, .droplinetabs ul{
list-style: none;
margin: 0;
padding: 0;
-webkit-perspective: 1000px;
perspective: 1000px;
-webkit-perspective-origin: 50% 0%;
perspective-origin: 50% 0%;
}
/* Top Level LI style */
.droplinetabs > li{
}
/* Top Level link style */
.droplinetabs > li > a{
border-radius: 10px 10px 0 0;
background: #C5D55B;
text-transform: ;
}
/* Top Level link style on hover and when active */
.droplinetabs li:hover > a {
background: #C5D55B;
}
.droplinetabs li{
display: inline;
}
/* drop line ULs style */
.droplinetabs ul{
background: #C5D55B;
position: absolute;
left: -5000px;
width: 100%;
opacity: 0;
padding: 10px 0;
top: auto;
border: 0px solid #ddd;
box-shadow: 0 3px 5px #;
-webkit-transform: rotateX(-70deg);
transform: rotateX(-70deg);
backface-visibility: hidden;
-webkit-transform-origin: 50% 0;
transform-origin: 50% 0;
-webkit-transition: opacity .3s, -webkit-transform .5s, visibility 0s .3s, left 0s .3s;
transition: opacity .3s, transform .5s, visibility 0s .3s, left 0s .3s;
}
/* Reveal sub menu on hover */
.droplinetabs li:hover > ul{
opacity: 1;
left: 0;
top: auto;
z-index: 1000;
-webkit-transform: rotateX(0deg);
transform: rotateX(0deg);
-webkit-transition: opacity .5s, -webkit-transform .5s;
transition: opacity .5s, transform .5s;
}
.droplinetabs ul li{
display: inline;
}
/* Sub Levels link style on hover and when active */
.droplinetabs ul li:hover > a {
background: #C5D55B;
border-radius: 10px;
}
/* LIs with a sub UL style */
.droplinetabs li > a {
/* add padding to accomodate arrow inside LIs */
padding-right: 30px;
}
/* LIs with NO sub UL style */
.droplinetabs li > a:only-child {
/* undo padding for non submenu LIs */
padding-right: 15px;
}
/* Arrow for LIs with sub ULs */
.droplinetabs li > a:after {
/* add arrow inside LIs */
content: "";
position: absolute;
height: 0;
width: 0;
border: 5px solid transparent;
border-top-color: black;
top: 45%;
right: 8px;
}
/* LIs with NO sub UL pseudo class */
.droplinetabs li > a:only-child:after {
/* undo arrow for non submenu LIs */
display: none;
}
/* ####### responsive layout CSS ####### */
@media (max-width: 720px) {
/* Top Level link style */
.droplinetabs > li > a{
border-radius: 0;
margin-top: 5px;
}
}
</style>
<ul class="droplinetabs">
<li><a href="#">Főoldal</a></li>
<li><a href="javascript:vold(0)">Menü2</a>
<ul>
<li><a href="#">Menü2 1</a></li>
<li><a href="#">Menü2 2</a></li>
<li><a href="#">Menü2 3</a></li>
<li><a href="#">Menü2 4</a></li>
</ul>
</li>
<li><a href="javascript:vold(0)">Menü3</a>
<ul>
<li><a href="#">Menü3 a</a></li>
<li><a href="#">Menü3 b</a></li>
<li><a href="javascript:vold(0)">Menü3 c</a>
<ul>
<li><a href="#">Menü3 c1</a></li>
<li><a href="#">Menü3 c2</a></li>
<li><a href="#">Menü3 c3</a></li>
<li><a href="#">Menü3 c4</a></li>
</ul>
</li>
<li><a href="#">Menü3 d</a></li>
<li><a href="#">Menü3 e</a></li>
<li><a href="#">Menü3 f</a></li>
<li><a href="#">Menü3 g</a></li>
</ul>
</li>
<li><a href="#">Menü 4</a></li>
<li><a href="javascript:vold(0)">Menü 5</a>
<ul>
<li><a href="#">Menü 5a</a></li>
<li><a href="javascript:vold(0)">Menü 5 b</a>
<ul>
<li><a href="#">Menü 5 b1</a></li>
<li><a href="#">Menü 5 b2</a></li>
<li><a href="javascript:vold(0)">Menü 5 b3</a>
<ul>
<li><a href="#">Menü 5 b3a</a></li>
<li><a href="#">Menü 5 b3b</a></li>
<li><a href="#">Menü 5 b3c</a></li>
<li><a href="#">Menü 5 b3d</a></li>
<li><a href="#">Menü 5 b3e</a></li>
</ul>
</li>
<li><a href="#">Menü 5 b4</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#">Menü6</a></li>
<li><a href="#">Menü7</a></li>
<li><a href="#">Menü8</a></li>
</ul>