Coder Social home page Coder Social logo

rishinkaku / bootnavbar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kmlpandey77/bootnavbar

0.0 0.0 0.0 91 KB

Bootstrap 5 / 4 multilevel dropdown navbar (multilevel menu) on hover

License: MIT License

JavaScript 15.31% CSS 9.48% HTML 75.22%

bootnavbar's Introduction

BootNavbar

license

Table of contents:

Introduction

Bootstrap 5 Responsive Navbar with Multi-level Dropdowns This is a fully responsive multilevel dropdown (Treeview menu) navbar opened on hover.

โš ๏ธ If you are using Boostrap 4 use v1.0.2 and read docs

Preview

Multi level hover dropdown Navbar for bootstrap 5

BootNavbar Demo

View Demo

Requirement

  • boostrap 5
  • animated.css (optional)

Download

Download source

BootNavbar CDN

css

<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/gh/kmlpandey77/[email protected]/css/bootnavbar.css"
/>

js

<script src="https://cdn.jsdelivr.net/gh/kmlpandey77/[email protected]/js/bootnavbar.js"></script>

How to use

To use BootNavbar on your website, simply drop the stylesheet into your document's <head>.

<head>
  <link
    rel="stylesheet"
    href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
  />
  <link rel="stylesheet" href="css/bootstrap.min.css" />
  <link rel="stylesheet" href="css/bootnavbar.css" />
</head>

And, simply drop the JS into your document's <body>.

<body>
  ... ...

  <script src="js/bootstrap.min.js"></script>
  <script src="js/bootnavbar.js"></script>
  <script>
    new bootnavbar();
  </script>
</body>

And, HTML.

<nav class="navbar navbar-expand-lg navbar-light bg-light" id="main_navbar">
  ... ...
</nav>

Options

Selector

Key: selector

Type: String

Default: main_navbar

selector must be in id tag

Animation

Key: animation

Type: Boolean

Default: true

Enable/Disable animation effect

Animate In

Key: animateIn

Type: String

Default: 'animate__fadeIn'

Value can be 'animate__slideInUp','animate__zoomIn' and for more option visit animate.css

bootnavbar's People

Contributors

kmlpandey77 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.