link(href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet")

input(type="checkbox" name="check")#check
label(for="check")#tog MENU
#menu
  span.button
    i.fa.fa-home
  span.button
    i.fa.fa-camera-retro
  span.button
    i.fa.fa-heart
  span.button
    i.fa.fa-bell
View Compiled
@mixin Anims($time) {
  -webkit-transition: all $time;
  -moz-transition: all $time;
  -ms-transition: all $time;
  -o-transition: all $time;
  transition: all $time;
}
 
@mixin Transform($type) {
  -webkit-transform: $type;
  -moz-transform: $type;
  -ms-transform: $type;
  -o-transform: $type;
  transform: $type;
}

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400|Dosis:200,300,400);

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  padding: 20px 0;
  background: #111;
}

#tog {
  margin: auto;
  padding: 0;
  display: block;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 140px;
  height: 140px;
  background: #fafafa;
  font: {
    family: 'Dosis';
    weight: 200;
    size: 1.8em;
  }
  text-align: center;
  line-height: 140px;  
  color: #111;
  cursor: pointer;
  @include Anims(0.25s);
  z-index: 125;
}

#tog:hover {
  background: #7a3fae;
  color: #fafafa;
}

#menu {
  margin: auto;
  padding: 0;
  display: block;
  position: absolute;
  top: 0; right: 0px; bottom: 0; left: 0;
  width: 140px;
  height: 140px;
  background: red;
  @include Anims(0.1s);
  z-index: 100;
}

.button {
  margin: 0;
  padding: 0;
  display: block;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 140px;
  height: 140px;
  background: #f0f0f0;
  font: {
    family: 'Dosis';
    weight: 200;
    size: 1.8em;
  }
  text-align: center;
  line-height: 140px;
  color: #111;
  cursor: pointer;
  @include Anims(0.25s);
}

.button:hover {
  background: none;
  color: #fafafa;
}

.button:active {
  color: #7a3fae;
}

#check {
  display: none;
}

#check:checked ~ {
  #tog {
    background: #111;
    color: #fafafa;
  }
  #menu {
    .button:nth-child(1) {top: -20px;}
    .button:nth-child(1):hover {top: -140px;}
    .button:nth-child(2) {left: 20px;}
    .button:nth-child(2):hover {left: 140px;}
    .button:nth-child(3) {top: 20px;}
    .button:nth-child(3):hover {top: 140px;}
    .button:nth-child(4) {left: -20px;}
    .button:nth-child(4):hover {left: -140px;}
  }
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. //cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js