Animated Hamburger Menu

Treehouse on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerDesign Engineering11 min

About this video

A step-by-step front-end tutorial that builds a hamburger menu with a sliding off-screen navigation animation using HTML, CSS and JavaScript. It suits learners who are starting to build mobile navigation in code.

What you’ll learn

  • Build a hamburger menu icon with HTML and CSS
  • Animate an off-screen navigation panel with CSS transitions
  • Toggle the menu open and closed with JavaScript