Newline Pending Merge

    compact-drop-down

    1.0.0 • Public • Published

    A Very compact drop-down menu implemented in vanilla JavaScript. It does not require any extra CSS.

    screen shot

            <div class=" drop-down">
              <a href="#">parent</a>
              <div class="drop-menu">
                <div class="drop-menu-item"><a href="#">child</a></div>
                <div class="drop-menu-item"><a href="#">child</a></div>
                <div class="drop-menu-item"><a href="#">child</a></div>
                <div class="drop-menu-item"><a href="#">child</a></div>
                <div class="drop-menu-item"><a href="#">child</a></div>
                <div class="drop-menu-item"><a href="#">child</a></div>
                <div class="drop-menu-item"><a href="#">child</a></div>
                <div class="drop-menu-item"><a href="#">child</a></div>
                <div class="drop-menu-item"><a href="#">child</a></div>
              </div>
            </div>
    

    Install

    npm i compact-drop-down

    DownloadsWeekly Downloads

    3

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    91.2 kB

    Total Files

    3

    Last publish

    Collaborators

    • yousefsayed