logo Apollo-UI

Hamburger Menu

A drawer works as a perfect supplement to a sidebar menu in mobile view. Here, I have shown how you can convert a side-menu into a hamburger menu and control its action from navbar.


Wrap a container inside 'hb--box' class. It is a grid layout for header, left side bar and a main content container. In header, user can place their content in three sections. It isnecessary to put hamburger icon as well. Entire layout is responsive and works efficiently in mobile view.

Copied!

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.


      <div class="hb--box">
          <header class="hb--header flex-ct-sb">
              <section class="flex-ct-st">...</section>
              <section class="flex-ct-ed">...</section>
              <section class="flex-ct-ed">...
                  <span class="slider">
                    <i class="fas fa-bars btn btn--float btn--round hb--btn"></i>
                  </span>
              </section>
          </header>
          <aside class="hb--aside">...</aside>
          <main class="hb--main sm-s">...</main>
      </div>