example-sidebar-1.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <!doctype html>
  2. <html lang="uk">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="theme-color" content="#205081" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <title>Sidebar 1</title>
  8. <link rel="stylesheet" href="./../../reboot.css" />
  9. <link rel="stylesheet" href="./../../grid.css" />
  10. <link rel="stylesheet" href="./base.css" />
  11. <link rel="stylesheet" href="./navbar.css" />
  12. <link rel="stylesheet" href="./sidebar-navbar.css" />
  13. </head>
  14. <body class="sidebars-1">
  15. <header>
  16. <div class="container-fluid">
  17. <nav>
  18. <div class="navbar-header">
  19. <a href="#" class="navbar-brand">Navigation Bar</a>
  20. <a href="javascript:void(0)" class="navbar-toggle" onclick="m=document.getElementById('navbarCollapse');if(m.className=='navbar-nav closed'){m.className='navbar-nav';}else{m.className='navbar-nav closed';}return false;">
  21. <svg fill="#fff" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" width="30px" height="30px">
  22. <path d="M 3 7 A 1.0001 1.0001 0 1 0 3 9 L 27 9 A 1.0001 1.0001 0 1 0 27 7 L 3 7 z M 3 14 A 1.0001 1.0001 0 1 0 3 16 L 27 16 A 1.0001 1.0001 0 1 0 27 14 L 3 14 z M 3 21 A 1.0001 1.0001 0 1 0 3 23 L 27 23 A 1.0001 1.0001 0 1 0 27 21 L 3 21 z" />
  23. </svg>
  24. </a>
  25. <ul class="navbar-nav closed" id="navbarCollapse">
  26. <li class="nav-item dropdown">
  27. <a href="#" class="nav-link">Item 1</a>
  28. <div class="dropdown-menu">
  29. <a class="dropdown-item" href="#">Sub Menu Item 1</a>
  30. <a class="dropdown-item" href="#">Sub Menu Item 2</a>
  31. <div class="dropdown-divider"></div>
  32. <a class="dropdown-item" href="#">Sub Menu Item 3</a>
  33. </div>
  34. </li>
  35. <li class="nav-item">
  36. <a href="#" class="nav-link">Item 2</a>
  37. </li>
  38. <li class="nav-item">
  39. <a href="#" class="nav-link">Item 3</a>
  40. </li>
  41. <li class="nav-item">
  42. <a href="#" class="nav-link">Item 4</a>
  43. </li>
  44. <li class="nav-item right dropdown">
  45. <a href="#" class="nav-link">Item 5</a>
  46. <div class="dropdown-menu">
  47. <a class="dropdown-item" href="#">Sub Menu Item 1</a>
  48. <a class="dropdown-item" href="#">Sub Menu Item 2</a>
  49. <div class="dropdown-divider"></div>
  50. <a class="dropdown-item" href="#">Sub Menu Item 3</a>
  51. </div>
  52. </li>
  53. </ul>
  54. </div>
  55. </nav>
  56. </div>
  57. </header>
  58. <div class="container-fluid">
  59. <div class="row main">
  60. <div class="col-12 col-sm-4 col-md-4 col-lg-3 col-xl-2 sidebar sidebar-left order-1">
  61. <div class="scroll">
  62. <ul class="navbar-nav">
  63. <li class="nav-item">
  64. <a href="#" class="nav-link">Item 1</a>
  65. <ul>
  66. <li class="nav-item">
  67. <a href="#" class="nav-link">Item 1. 1.</a>
  68. </li>
  69. </ul>
  70. </li>
  71. <li class="nav-item">
  72. <a href="#" class="nav-link">Item 2</a>
  73. <ul>
  74. <li class="nav-item">
  75. <a href="#" class="nav-link">Item 2. 1.</a>
  76. </li>
  77. <li class="nav-item">
  78. <a href="#" class="nav-link">Item 2. 2.</a>
  79. </li>
  80. <li class="nav-item">
  81. <a href="#" class="nav-link">Item 2. 3.</a>
  82. </li>
  83. <li class="nav-item">
  84. <a href="#" class="nav-link">Item 2. 4.</a>
  85. </li>
  86. <li class="nav-item">
  87. <a href="#" class="nav-link">Item 2. 5.</a>
  88. </li>
  89. </ul>
  90. </li>
  91. <li class="nav-item">
  92. <a href="#" class="nav-link">Item 3</a>
  93. </li>
  94. <li class="nav-item">
  95. <a href="#" class="nav-link">Item 4</a>
  96. </li>
  97. <li class="nav-item">
  98. <a href="#" class="nav-link">Item 5</a>
  99. </li>
  100. </ul>
  101. <ul class="navbar-nav">
  102. <li class="nav-item">
  103. <a href="#" class="nav-link">Item 1</a>
  104. <ul>
  105. <li class="nav-item">
  106. <a href="#" class="nav-link">Item 1. 1.</a>
  107. </li>
  108. </ul>
  109. </li>
  110. <li class="nav-item">
  111. <a href="#" class="nav-link">Item 2</a>
  112. <ul>
  113. <li class="nav-item">
  114. <a href="#" class="nav-link">Item 2. 1.</a>
  115. </li>
  116. <li class="nav-item">
  117. <a href="#" class="nav-link">Item 2. 2.</a>
  118. </li>
  119. <li class="nav-item">
  120. <a href="#" class="nav-link">Item 2. 3.</a>
  121. </li>
  122. <li class="nav-item">
  123. <a href="#" class="nav-link">Item 2. 4.</a>
  124. </li>
  125. <li class="nav-item">
  126. <a href="#" class="nav-link">Item 2. 5.</a>
  127. </li>
  128. </ul>
  129. </li>
  130. <li class="nav-item">
  131. <a href="#" class="nav-link">Item 3</a>
  132. </li>
  133. <li class="nav-item">
  134. <a href="#" class="nav-link">Item 4</a>
  135. </li>
  136. <li class="nav-item">
  137. <a href="#" class="nav-link">Item 5</a>
  138. </li>
  139. </ul>
  140. </div>
  141. </div>
  142. <div class="col-12 col-sm-8 col-md-8 col-lg-9 col-xl-10 content order-3">
  143. <div class="scroll">
  144. Content<br>
  145. Content<br>
  146. Content<br>
  147. Content<br>
  148. Content<br>
  149. Content<br>
  150. Content<br>
  151. Content<br>
  152. Content<br>
  153. Content<br>
  154. Content<br>
  155. Content<br>
  156. Content<br>
  157. Content<br>
  158. Content<br>
  159. Content<br>
  160. Content<br>
  161. Content<br>
  162. Content<br>
  163. Content<br>
  164. Content<br>
  165. Content<br>
  166. Content<br>
  167. Content<br>
  168. Content<br>
  169. Content<br>
  170. Content<br>
  171. Content<br>
  172. Content<br>
  173. Content<br>
  174. </div>
  175. </div>
  176. </div>
  177. </div>
  178. </body>
  179. </html>