From b76e0d7f283be2b2e9d2a5b7ebead29215affd2e Mon Sep 17 00:00:00 2001
From: 30secondsofcode <30secondsofcode@gmail.com>
Date: Fri, 11 Oct 2019 14:19:38 +0000
Subject: [PATCH] Travis build: 517
---
README.md | 70 +++++++++++++++++++++++++++++++++++
snippet_data/snippetList.json | 15 ++++++++
snippet_data/snippets.json | 27 ++++++++++++++
3 files changed, 112 insertions(+)
diff --git a/README.md b/README.md
index 39947b416..d815025d5 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,7 @@ See CONTRIBUTING.md for the snippet template.
View contents
* [`Disable selection`](#disable-selection)
+* [`Hamburguer Button`](#hamburguer-button)
* [`Popout menu`](#popout-menu)
* [`Sibling fade`](#sibling-fade)
@@ -623,6 +624,75 @@ Makes the content unselectable.
[⬆ Back to top](#contents)
+### Hamburguer Button
+
+This is a way to build simple hamburger button for menu bar.
+
+```html
+
+```
+
+```css
+.hb,
+.hb:before,
+.hb:after {
+ position: relative;
+ width: 30px;
+ height: 5px;
+ border: none;
+ outline: none;
+ background-color: #333;
+ border-radius: 3px;
+ transition: 0.5s;
+ cursor: pointer;
+}
+
+.hb:before,
+.hb:after {
+ content: '';
+ position: absolute;
+ top: -7.5px;
+ left: 0;
+}
+
+.hb:after {
+ top: 7.5px;
+}
+
+.hb:hover {
+ background-color: transparent;
+}
+
+.hb:hover:before,
+.hb:hover:after {
+ top: 0;
+}
+
+.hb:hover::before {
+ transform: rotate(45deg);
+}
+
+.hb:hover::after {
+ transform: rotate(-45deg);
+}
+```
+
+
+#### Explanation
+
+
+- Use a `