Skip to content

MarGul/off-canvas-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Off-Canvas menu with minimal amount of JavaScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published