Search
 
SCRIPT & CODE EXAMPLE
 

HTML

Mobile Navigation Bar

<!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" />
  <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>
  <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>


  <!-- MDB -->
  <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 :: how to add lines between div rows html 
Html :: lang element html 
Html :: expandable and collapsible html tables 
Html :: style attribute in html 
Html :: underline code 
Html :: font jrxml 
Html :: title attribute in html 
Html :: table body element 
Html :: ionic range drag 
Html :: dropzone 
Html :: cara membuat persegi di html 
Html :: how to remove the timeline in html video 
Html :: a attributes html 
Html :: make dictionary english html 
Html :: html double line break 
Html :: Javascript to select td element that was clicked in a table 
Html :: onclick reportrange html 
Html :: bootstrap tables 
Html :: basic html tag 
Html :: square radio button in html 
Html :: ipython.display html 
Html :: como limpar as informações de uma tabela html 
Html :: onclick video popup in html 
Html :: what is jumbotron in bootstrap 
Html :: html table colgroup 
Html :: image is too big html 
Html :: code live html css online 
Html :: html style guide 
Html :: add output buffering to cagefs 
Html :: split input for otp 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =