Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 464 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 464 Bytes

hamburger

small hamburger menu animation

How to use it

/!\ Dimensions are optimized for mobile if you use the meta viewport tag. If you need to change them you can find them in hamburger-config.scss. /!\

  1. Either import "hamburger.css" or use the provided scss folder
  2. Import "hamburger.js"

Inside your html :

  1. Create a div with the class : "hamburger-container"
  2. Inside said div, create three div with the classes "topBun", "steak", "bottomBun"