Download and install the package by running:
npm i odin_dropdown
- 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
<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'