In the following example we insert a "Sign Up" button and a "Login" button to the right in the navigation bar. In this example we will show how to turn navbar-collapse wrapper into offcanvas on mobile screens. A responsive, mobile-compatible navigation system that transforms the regular horizontal header navigation into a dropdown menu triggered by a hamburger toggle button. So, let’s begin with the tutorial and at the end you can decide which way to go, Bootstrap or HTML/CSS. Secondly, when the menu is open, we rotate the first and third “span”, and hide the second, thus creating an “X” sign.