JSFiddle - React, Tailwind, and code Playground

by uge44

HTML

<div id="main">
    <input type="checkbox" id="menu" class="menuControl" />  <!-- Hidden -->
    <label for="menu">+
        <div class="circle-container">
        </div>
    </label>  
    <ul class="items">
        <li>&#9733;</li>
        <li>&#9733;</li>
        <li>&#9733;</li>
        <li>&#9733;</li>
        <li>&#9733;</li>
        <li>&#9733;</li>         
    </ul>
</div>

SCSS

#main {
  width: 600px;
}

.circle-container {
  position: fixed;
  top: 50%;
  left: 50%;
  height: 40px;
  width: 40px;
  margin: -20px 0 0 -20px;
  z-index: 2;
  border: 0px;
  font-size: 30px;
  line-height: 40px;
  text-align: center;
  color: white;
  padding: 0px;
  transition: all 0.2s linear;
  background-image: linear-gradient(#e85738, #cb2c16);
  box-shadow: 0 0 0 4px white, 0 0 0 5px rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  transform-style: preserve-3d;
  appearance: none;
  transform: rotate(45deg);
  &:active::before {
    content: "";
    display: block;
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    border-radius: 25px;
  }
}


.items li {
  position: fixed;
  z-index: -1;
  top: 50%;
  left: 50%;
  margin: -13px 0 0 -13px;
  display: block;
  height: 26px;
  width: 26px;
  color: white;
  text-align: center;
  line-height: 26px;
  font-size: 18px;
  box-shadow: 0 0 0 4px white, 0 0 0 5px rgba(0, 0, 0, 0.3), inset 0 0 1px black;
  background-image: linear-gradient(#433f3c, #44403d);
  border-radius: 13px;
  transform-style: preserve-3d;
}

@keyframes appear-1 {
  /* line 45, ../sass/app.scss */
  0% {
    transform: translate3d(0, 0, 0px) rotateZ(270deg);
    animation-timing-function: cubic-bezier(1, 0.6, 0.57, 0.75);
  }

  /* line 49, ../sass/app.scss */
  80% {
    animation-timing-function: cubic-bezier(0.45, 0.97, 0.51, 0.78);
    transform: translate3d(228px, -30px, 0px) rotateZ(0deg);
  }

  /* line 53, ../sass/app.scss */
  100% {
    transform: translate3d(198px, -26px, 0px);
  }
}

@keyframes disappear-1 {
  /* line 59, ../sass/app.scss */
  0% {
    transform: translate3d(198px, -26px, 0px) rotateZ(0deg);
    animation-timing-function: cubic-bezier(1, 0.6, 0.57, 0.75);
  }

  /* line 63, ../sass/app.scss */
  70% {
    transform: translate3d(228px, -30px, 0px) rotateZ(360deg);
    animation-timing-function:...