Search
 
SCRIPT & CODE EXAMPLE
 

HTML

hamburger menu

<!DOCTYPE html>
<html lang="en">

<head>
  <!-- Font Awesome -->
  <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet" />
  <!-- Google Fonts -->
  <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />
  <!-- MDB -->
  <link rel="stylesheet" type="text/css" href="Bootstrap/bootstrap.min.css" />
  <link href="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/4.0.0/mdb.min.css" rel="stylesheet" />
  <title>Hello, world</title>
</head>
  
<body>
  <nav class="navbar navbar-light bg-light">
    <div class="container-fluid">
      <button class="navbar-toggler ms-auto" type="button" data-mdb-toggle="collapse"
        data-mdb-target="#navbarToggleExternalContent3" aria-controls="navbarToggleExternalContent3"
        aria-expanded="false" aria-label="Toggle navigation">
        <i class="fas fa-bars"></i>
      </button>
    </div>
  </nav>
  <div class="collapse" id="navbarToggleExternalContent3">
    <div class="bg-light  p-4">
      <button class="btn btn-link btn-block border-bottom m-0">Link 1</button>
      <button class="btn btn-link btn-block border-bottom m-0">Link 2</button>
      <button class="btn btn-link btn-block m-0">Link 3</button>
    </div>
  </div>
  
  <!-- SCRIPT -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
    integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
    crossorigin="anonymous"></script>
  <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
  <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/4.0.0/mdb.min.js"></script>
</body>
</html>
Comment

PREVIOUS NEXT
Code Example
Html :: common sample sql databases for practice 
Html :: HTML SVG Graphics 
Html :: fork me on github html css code 
Html :: Font Awesome icons html code 
Html :: fontawesome icons reference 
Html :: how to create seprate flex box for adding items into the box 
Html :: bootstrap accordion 
Html :: html <strong 
Html :: how to make a button in html go to another address 
Html :: scroll to section href 
Html :: lorem ipsum text 
Html :: vue call method in html 
Html :: html images @2x 
Html :: highlight a text in html 
Html :: html elements list 
Html :: offline p5.js html 
Html :: mobile navigation bar bootstrap 
Html :: html form to google sheets 
Html :: open app instagram with url html tag on android 
Html :: how to edit colours in background html 
Html :: html entity close x 
Html :: lwc unescaped html 
Html :: about us html template 
Html :: html adding image 
Html :: on click drop down bootstrao 
Html :: iconos html 
Html :: icon inside input 
Html :: html form tag 
Html :: x-auth-token 
Html :: html autocomplete 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =