Off-Canvas Nav

Off-Canvas Nav

.. coded a new (mob) navigation menu for my portfolio: http://rajtoral.com!

A scroll animation on the menu changes the 'normal' navigation (on desktop+) into a button for a of-canvas sliding sidebar. This button is 'fixed' so it will stay in the viewport while scrolling the page.

When viewport is smaller than 1024px, you'll only see the fixed nav button. Used Modernizr, enquire.js and some codes to make the magic happen!

keyboard shortcuts: L or F like Z toggle zoom post comment