I have this vertical menu:
<!-- Coluna2 -->
<div id="d2" align="right">
<nav id="menu">
<ul id="menu-nav">
<li><a href="cEmpresa.html">Hotel</a></li>
<li><a href="#">Clientes</a></li>
<li><a href="cFuncionarios.html">Funcionários</a</li>
<li><a href="cQuartos.html">Quartos</a></li>
<li><a href="#">Produtos</a></li>
<li><a href="#">Serviços</a></li>
<li><a href="#">Reservas</a></li>
<li><a href="#">Fechamento</a></li>
</ul>
</nav>
</div>
Your CSS:
/* COLUNA2*/
#d2
{
border-style: solid;
border-color: rgba(64, 118, 182, .3);
margin-top: -10px;
height: 110%;
background-color: rgba(64, 118, 182, .5);
display: block;
float: right;
width: 20%;
}
How do I put submenus in it? For example, I want to divide these items into just two categories, Administração
and Sistema
, and separate those items between those two new categories. Example:
Administração
Funcionários
Hotel
Relatórios
Sistema
Clientes
Produtos
Reservas
How do I do this in the simplest way? I wanted to display only the two categories (admin and System) then clicking on it or giving hover
, it will display its sub categories ..