JSFiddle - React, Tailwind, and code Playground

by rageprof

HTML

<button class="cn-button" id="cn-button">|</button>
<div class="cn-wrapper opened-nav" id="cn-wrapper">
  <ul>
    <li><a href="#"><span class="icon-picture"></span></a></li>
    <li><a href="#"><span class="icon-headphones"></span></a></li>
    <li><a href="#"><span class="icon-home"></span></a></li>
    <li><a href="#"><span class="icon-facetime-video"></span></a></li>
    <li><a href="#"><span class="icon-envelope-alt"></span></a></li>
  </ul>
</div>

CSS

@import url(http://netdna.bootstrapcdn.com/font-awesome/2.0/css/font-awesome.css);

* {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative
}
html, body {
  height: 100%;
}
body {
  color: #fff;
}
.cn-wrapper {
  font-size: 1em;
  width: 26em;
  height: 26em;
  overflow: hidden;
  position: fixed;
  z-index: 10;
  left: -13em;
  top: 50%;
  border-radius: 50%;
  margin-top: -13em;
  -webkit-transform: scale(0.1);
  -ms-transform: scale(0.1);
  -moz-transform: scale(0.1);
  transform: scale(0.1);
  pointer-events: none;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  transition: all .3s ease;
  background: #f06060;
}
.opened-nav {
  border-radius: 50%;
  pointer-events: auto;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}
.cn-overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  transition: all .3s ease;
  z-index: 2;
}
.cn-overlay.on-overlay {
  visibility: visible;
  opacity: 1;
}

.cn-button {
  border: none;
  background: none;
  color: #f06060;
  text-align: center;
  font-size: 1.8em;
  padding-left: 1em;
  height: 3.5em;
  width: 3.5em;
  background-color: #fff;
  position: fixed;
  top: 50%;
  margin-top: -1.75em;
  left: -1.75em;
  border-radius: 50%;
  cursor: pointer;
  z-index: 11;
}
.cn-button:hover, .cn-button:active, .cn-button:focus {
  color: #aa1010;
}

.cn-wrapper li {
  position: absolute;
  font-size: 1.5em;
  width: 10em;
  height: 10em;
  -webkit-transform-origin: 100% 100%;
  -moz-transform-origin: 100% 100%;
  -ms-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
  overflow: hidden;
  left: 50%;
  top: 50%;  margin-top: -1.3em;
  margin-left: -10em;
  -webkit-transition: border...