Skip to content

Instantly share code, notes, and snippets.

@davidlonjon
Created July 11, 2014 05:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidlonjon/5dbe61f4c3ddecd5ce73 to your computer and use it in GitHub Desktop.
Save davidlonjon/5dbe61f4c3ddecd5ce73 to your computer and use it in GitHub Desktop.
Mobile Menu Button in Pure CSS
// Taken from http://www.alwaystwisted.com/post.php?s=2012-05-12-create-a-pure-css-menu-button
.btn {
position: relative;
margin-top:2%;
border: 2px solid black;
border-radius: 2px;
height: 36px;
width:36px;
}
#lines:before {
border-bottom: 17px double black;
border-top: 6px solid black;
content:"";
height: 5px;
position: absolute;
right:3px;
top: 4px;
width:30px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment