Skip to content

prathapmohan27/odin_dropdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published