Skip to content

alphonseb/hamburger-anim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

small hamburger menu animation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published