Código HTML:
Ver original
Código CSS:
Ver original
.nav-prin ul>li { background: #a61700; color: #ffa040; display: inline-block; font-weight: bold; margin-left: 0.01em; padding: 0.25em 0; vertical-align: top; text-align: center; width: 16.3%; } .nav-prin ul>li:hover{ background:#ff7d13; color: #a61700; display: inline-block; font-weight: bold; margin-left: 0.01em; padding: 0.25em 0; vertical-align: top; text-align: center; width: 16.3%; } .nav-prin ul li ul li { background: yellow; display: block; display: none; } .nav-prin ul li:hover ul li { background: yellow; display: block; position: absolute; }