0
I have this navbar
on the left of my screen
<div class="main-menu">
<ul>
<li>
<a href="listCadastro.php" onclick="">
<span class="menu-icon">
<i class="fa fa-file-text fa-lg"></i>
</span>
<span class="text">
Cadastros
</span>
<span class="menu-hover"></span>
</a>
</li>
<li>
<a href="listCadastro.php" onclick="">
<span class="menu-icon">
<i class="fa fa-file-text fa-lg"></i>
</span>
<span class="text">
Informações
</span>
<span class="menu-hover"></span>
</a>
</li>
<li>
<a href="listCadastro.php" onclick="">
<span class="menu-icon">
<i class="fa fa-file-text fa-lg"></i>
</span>
<span class="text">
Cartas
</span>
<span class="menu-hover"></span>
</a>
</li>
<li>
<a href="listCadastro.php" onclick="">
<span class="menu-icon">
<i class="fa fa-file-text fa-lg"></i>
</span>
<span class="text">
Relatórios
</span>
<span class="menu-hover"></span>
</a>
</li>
</ul>
</div>
I’d like to add submenus
so that when clicked on registrations for example, this submenus
would appear under the sign-in button, while the other buttons would go down.
Is there any way to do it?
It worked perfectly. For some reason I wasn’t able to use Collapse within my code. Thank you.
– Felipe