example-sidebar-1.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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">
  27. <a href="#" class="nav-link">Item 1</a>
  28. </li>
  29. <li class="nav-item">
  30. <a href="#" class="nav-link">Item 2</a>
  31. </li>
  32. <li class="nav-item">
  33. <a href="#" class="nav-link">Item 3</a>
  34. </li>
  35. <li class="nav-item">
  36. <a href="#" class="nav-link">Item 4</a>
  37. </li>
  38. <li class="nav-item right">
  39. <a href="#" class="nav-link">Item 5</a>
  40. </li>
  41. </ul>
  42. </div>
  43. </nav>
  44. </div>
  45. </header>
  46. <div class="container-fluid">
  47. <div class="row main">
  48. <div class="col-12 col-sm-4 col-md-4 col-lg-3 col-xl-2 sidebar sidebar-left order-1">
  49. <div class="scroll">
  50. <ul class="navbar-nav">
  51. <li class="nav-item">
  52. <a href="#" class="nav-link">Item 1</a>
  53. <ul>
  54. <li class="nav-item">
  55. <a href="#" class="nav-link">Item 1. 1.</a>
  56. </li>
  57. </ul>
  58. </li>
  59. <li class="nav-item">
  60. <a href="#" class="nav-link">Item 2</a>
  61. <ul>
  62. <li class="nav-item">
  63. <a href="#" class="nav-link">Item 2. 1.</a>
  64. </li>
  65. <li class="nav-item">
  66. <a href="#" class="nav-link">Item 2. 2.</a>
  67. </li>
  68. <li class="nav-item">
  69. <a href="#" class="nav-link">Item 2. 3.</a>
  70. </li>
  71. <li class="nav-item">
  72. <a href="#" class="nav-link">Item 2. 4.</a>
  73. </li>
  74. <li class="nav-item">
  75. <a href="#" class="nav-link">Item 2. 5.</a>
  76. </li>
  77. </ul>
  78. </li>
  79. <li class="nav-item">
  80. <a href="#" class="nav-link">Item 3</a>
  81. </li>
  82. <li class="nav-item">
  83. <a href="#" class="nav-link">Item 4</a>
  84. </li>
  85. <li class="nav-item">
  86. <a href="#" class="nav-link">Item 5</a>
  87. </li>
  88. </ul>
  89. <ul class="navbar-nav">
  90. <li class="nav-item">
  91. <a href="#" class="nav-link">Item 1</a>
  92. <ul>
  93. <li class="nav-item">
  94. <a href="#" class="nav-link">Item 1. 1.</a>
  95. </li>
  96. </ul>
  97. </li>
  98. <li class="nav-item">
  99. <a href="#" class="nav-link">Item 2</a>
  100. <ul>
  101. <li class="nav-item">
  102. <a href="#" class="nav-link">Item 2. 1.</a>
  103. </li>
  104. <li class="nav-item">
  105. <a href="#" class="nav-link">Item 2. 2.</a>
  106. </li>
  107. <li class="nav-item">
  108. <a href="#" class="nav-link">Item 2. 3.</a>
  109. </li>
  110. <li class="nav-item">
  111. <a href="#" class="nav-link">Item 2. 4.</a>
  112. </li>
  113. <li class="nav-item">
  114. <a href="#" class="nav-link">Item 2. 5.</a>
  115. </li>
  116. </ul>
  117. </li>
  118. <li class="nav-item">
  119. <a href="#" class="nav-link">Item 3</a>
  120. </li>
  121. <li class="nav-item">
  122. <a href="#" class="nav-link">Item 4</a>
  123. </li>
  124. <li class="nav-item">
  125. <a href="#" class="nav-link">Item 5</a>
  126. </li>
  127. </ul>
  128. </div>
  129. </div>
  130. <div class="col-12 col-sm-8 col-md-8 col-lg-9 col-xl-10 content order-3">
  131. <div class="scroll">
  132. Content<br>
  133. Content<br>
  134. Content<br>
  135. Content<br>
  136. Content<br>
  137. Content<br>
  138. Content<br>
  139. Content<br>
  140. Content<br>
  141. Content<br>
  142. Content<br>
  143. Content<br>
  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. </div>
  163. </div>
  164. </div>
  165. </div>
  166. </body>
  167. </html>