Add to collection
Mohammad Azad

Mohammad Azad

Verified

How To Create a Side Navigation Menu

Learn how to create an off-canvas sidebar menu Using HTML and CSS.

Click on the hamburger icon to expand the side navigation menu, and push this content to the right. Notice that we add / remove class .collapse-nav and .expand-main to nav and main tags when the side nav is opened or closed.

Try Yourself in Code Editor    

Comments 0

  • Sorry!! No comment posted yet. Become the first user to give comment.
Add a comment

Would you like to write for w3 sniff?

Become part of an amazing group of contributors and authors and start writing for us

Join Now
Feedback submitted successfully.