aquila-dropdown
v1.0.6
Published
A module to build quick customizable dropdown menus
Downloads
305
Maintainers
Readme
dropdown-menu
Copy and paste this at the end of the body of your HTML file:
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/main.js"></script>
or
<script src="https://unpkg.com/[email protected]/dist/main.js"></script>
##How to use it:
In your html file create:
<div class="aquila-dropdown">
<button class="aquila-btn">[your button text or image]</button>
<ul class="aquila-elements">
<li class="aquila-item">[your item]</li>
<li class="aquila-item">[your item]</li>
[add as many items as you like]
</ul>
</div>
Everyone of them is a dropdown menu with a button. Feel free to customize their style in your stylesheets.