20+ Beautiful CSS Off-Canvas Menus (Free Code + Demos)

Enjoy this 100% free and open source collection of HTML and CSS off-canvas menu code examples. These off-canvas menus are easy to add to your website.

1. CSS3 Side Panel With Menu

CSS Off-Canvas Menus - CSS3 side panel with menu
A CSS3 side panel with menu and associated content which transitions in from the right hand side of the page. The whole body of the page moves left to create this effect.
Author: Darren Huskie (Huskie)
Created on: June 19, 2013
Made with: HTML, Sass, JS
Tags: css3, menu, panel, transition, slide

2. Off-Canvas Menu On Pure CSS

CSS Off-Canvas Menus - Off-Canvas menu on Pure CSS
Author: Andrej Sharapov (andrejsharapov)
Created on: March 22, 2019
Made with: Pug, SCSS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: off-canvas, menu, css

3. Pure CSS Slide Out Menu

CSS Off-Canvas Menus - Pure CSS Slide Out Menu
A simple slide out menu using just css.
Author: Max Kurapov (mkurapov)
Created on: May 21, 2016
Made with: HTML, SCSS, JS
Tags: slide, out, menu, css, simple

4. Hidden Side Menu | CSS Only

CSS Off-Canvas Menus - Hidden Side Menu | CSS Only
Hidden side menu and hamburger animation using CSS only.
Author: Joshua Ward (joshuaward)
Created on: June 28, 2017
Made with: HTML, SCSS

5. Pure CSS3 HTML5 Sliding Panels And Off Canvas Navigation

CSS Off-Canvas Menus - Pure CSS3 HTML5 sliding panels and off canvas navigation
Author: Adam Carignan (acarignan)
Created on: October 29, 2014
Made with: HTML, SCSS

6. Off-Canvas Menu With CSS And A Touch Of JavaScript

CSS Off-Canvas Menus - Off-Canvas Menu With CSS and a Touch of JavaScript
Read full tutorial by George Martsoukos on Tuts+.
Author: Envato Tuts+ (tutsplus)
Created on: January 22, 2018
Made with: HTML, CSS, Babel
Tags: off-canvas, navigation, javascript

7. Pure CSS Off-Screen Navigation Menu

CSS Off-Canvas Menus - Pure CSS Off-Screen Navigation Menu
Author: SitePoint (SitePoint)
Created on: July 31, 2014
Made with: HTML, CSS, JS

8. Pure CSS Off-canvas Menu With Flexbox

CSS Off-Canvas Menus - Pure CSS off-canvas menu with flexbox
Flexbox allows the content area to resize to fit the remaining space in the viewport when the menu becomes visible and takes up a chunk of the width. Forked from Oliver Knoblich's Pen Pure CSS Off Canvas Menu.
Author: Zoe Gillenwater (zomigi)
Created on: October 1, 2014
Made with: HTML, SCSS
Tags: css3, offcanvas, flexbox, menu, mobile

9. IOS Style Sliding Menu

CSS Off-Canvas Menus - iOS style sliding menu
Here's an easy way to create an iOS style, side sliding menu.
Author: Jason Howmans (jasonhowmans)
Created on: July 12, 2013
Made with: HTML, SCSS, JS

10. Pure CSS Off-Canvas Menu

CSS Off-Canvas Menus - Pure CSS Off-Canvas Menu
I needed an easy solution for a navigation menu on a responsive site and I wanted to avoid using Javascript to make a simple toggle. Tired of seeing jQuery plugins for this, too, I decided to make a drawer style/off-canvas menu using just CSS. Forked from Austin Wulf's Pen Pure CSS Off-Ca...
Read More
Author: BOMBCAT (bombcat)
Created on: May 24, 2014
Made with: HTML, CSS, JS
Tags: mobile, responsive, navigation, toggle, off-canvas

11. Pure CSS Off Canvas Menu

CSS Off-Canvas Menus - Pure CSS Off Canvas Menu
Author: Stingy (rbardtke)
Created on: May 2, 2014
Made with: HTML, SCSS
Tags: css3, offcanvas, flexbox, menu, mobile

12. CSS Sidebar Toggle

CSS Off-Canvas Menus - CSS sidebar toggle
Pure CSS solution for hiding and showing sidebar.
Author: Silvestar Bistrović (CiTA)
Created on: February 7, 2017
Made with: HTML, SCSS, Babel
Tags: css, sidebar, toggle, cpc-full-page-nav, codepenchallenge

13. Pure CSS OffCanvas Menu

CSS Off-Canvas Menus - Pure CSS OffCanvas Menu
Just playing around with the concept of offcanvas menu.
Author: Akshay Nair (phenax)
Created on: October 4, 2015
Made with: HTML, SCSS, JS
Tags: offcanvas, menu, pure, css, purecss

14. Off-canvas Menu

CSS Off-Canvas Menus - Off-canvas menu
Author: Mojtaba Seyedi (seyedi)
Created on: June 12, 2015
Made with: HTML, CSS

15. JS-Free Menu & Site Navigation

CSS Off-Canvas Menus - JS-Free Menu & Site Navigation
Radio buttons everywhere! It turns out that a radio input's label will still check it off even when there's no common parent. All you need to do is place the input immediately before its corresponding section. The CSS "+" selector takes care of the rest.
Author: Nicolas Udy (udyux)
Created on: February 11, 2016
Made with: HTML, PostCSS, JS
Tags: no-js, css, radio, menu, navigation

16. Fly-Out Nav

CSS Off-Canvas Menus - Fly-Out Nav
A fly-out navbar...'cus I've never made one ... [ Pen #7 of my 'At Least One CSS-Based Pen A Day' ]
Author: Tiffany Rayside (tmrDevelops)
Created on: March 27, 2015
Made with: HTML, SCSS
Tags: navigation, menu, fly-out menu, menu-transitions, css-menu

17. Offcanvas Sidebar Menu With A Twist

CSS Off-Canvas Menus - Offcanvas sidebar menu with a twist
Idea and inspiration: https://dribbble.com/shots/1719325-GIF-Sticker-App Developed in Chrome, not tested elsewhere, not production ready. Known issue: content overflow is cut when rotated. Tried different pure-CSS solutions and none worked for me. Will give credit for a non-JS solution. ...
Read More
Author: Devilish Alchemist (devilishalchemist)
Created on: December 29, 2014
Made with: HTML, SCSS, JS

18. Another CSS Morphing Menu Toggle

CSS Off-Canvas Menus - Another CSS Morphing Menu Toggle
Yet another animating CSS "hamburger" menu toggle. Written in .scss, using some lite javascript to toggle active classes. The three bars morph to up/down arrows, and an "x". Woohoo!
Author: Matt Soria (poopsplat)
Created on: October 10, 2014
Made with: HTML, SCSS, JS
Tags: css, transitions, menu, nav, hamburger

19. The Ultimate Hamburger Menu

CSS Off-Canvas Menus - The ultimate hamburger menu
A very skeuomorphic take on a flat design classic. Mucking around to learn about svg animation
Author: Charles (CharlesSmart)
Created on: March 6, 2015
Made with: HTML, CSS, JS
Tags: hamburger-menu, menu