navbar.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <nav class="navbar navbar-expand-lg navbar-light bg-light">
  2. <div class="container-fluid">
  3. <a class="navbar-brand" href="#"></a>
  4. <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
  5. <span class="navbar-toggler-icon"></span>
  6. </button>
  7. <div class="collapse navbar-collapse" id="navbarSupportedContent">
  8. <ul class="navbar-nav me-auto mb-2 mb-lg-0">
  9. <li class="nav-item">
  10. <a class="nav-link active" aria-current="page" href="#">Home</a>
  11. </li>
  12. <li class="nav-item">
  13. <a class="nav-link" href="#">Link</a>
  14. </li>
  15. <li class="nav-item dropdown">
  16. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
  17. Dropdown
  18. </a>
  19. <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
  20. <li><a class="dropdown-item" href="#">Action</a></li>
  21. <li><a class="dropdown-item" href="#">Another action</a></li>
  22. <li><hr class="dropdown-divider"></li>
  23. <li><a class="dropdown-item" href="#">Something else here</a></li>
  24. </ul>
  25. </li>
  26. <li class="nav-item">
  27. <a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">Disabled</a>
  28. </li>
  29. </ul>
  30. <form class="d-flex">
  31. <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
  32. <button class="btn btn-outline-success" type="submit">Search</button>
  33. </form>
  34. </div>
  35. </div>
  36. </nav>