cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv headernumbered-list123split-screen
CodePen probably won't work great in this browser. We generally only support the major desktop browsers like Chrome, Firefox, Safari, and Edge. Use this one at your own risk! If you're looking to test things, try looking at Pens/Projects in Debug View.
user profile image

Accessible Offcanvas

A progressively enhanced jQuery off-canvas navigation plugin which lets you create fully accessible sidebar or top/bottom sliding (or push) panels with keyboard interactions and ARIA attributes. View Demo

Fork and Download

Github: https://github.com/vmitsaras/js-offcanvas

https://github.com/vmitsaras/js-offcanvas/archive/master.zip

Package managers

  • Install with Bower: bower install js-offcanvas --save
  • Install with npm: npm install js-offcanvas

CDN

https://npmcdn.com/js-offcanvas@1.0/dist/_js/js-offcanvas.pkgd.min.js

https://npmcdn.com/js-offcanvas@1.0/dist/_css/minified/js-offcanvas.css

Comments

  1. Is there a way to make the offcanvas scrollable?

  2. @xang just add the class ** is-scrollable**

    .c-offcanvas.is-scrollable {
        overflow-y: auto;
    }
    

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.
Loading...
Loading...