Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 429 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 429 Bytes

off-canvas-menu

By basically only attaching mobile-nav-open to the body element you will have an Off-Canvas menu.

Need to style the links a bit. This can then be combined with a regular desktop menu by hiding the mobile-navigation class and mobile-nav-header class. Either through CSS or Javascript.

Just add the class mobile-nav-open to the body element to slide out the off-canvas-menu. Remove the class to hide it again.