2.0.0 • Published 2 years ago
odin_dropdown v2.0.0
Drop Down
Download
Download and install the package by running:
npm i odin_dropdown
usage
- drop down smoothly show menu hide menu
- Add multiple drop Down button if want
- copy css from style.css or link to your application
Feel free to customize styles like font-size/family, color, background, padding etc. to your own taste or to suit your personal project
html structure
<div class="dropDown-container">
<button class="dropDown-button" data-name="home">Drop Down</button>
<div class="dropDown-content" data-name="home" class="active">
<a href="#">one link</a>
<a href="#">two link</a>
<a href="#">four link</a>
</div>
</div>
if you use multiple drop down button data-name='unique'