JSFiddle - React, Tailwind, and code Playground

by Jose Antonio

HTML

<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
<div class="overlay"></div>
	<section class="container-full">
		<div class="row container-nav">
            <button id="btn" type="button"><p class="glyphicon glyphicon-plus"></p></button>
			<ul>
				<li><a class="glyphicon glyphicon-stop" href="#"></a></li>
				<li><a class="glyphicon glyphicon-pause" href="#"></a></li>
				<li><a class="glyphicon glyphicon-home" href="#"></a></li>
				<li><a class="glyphicon glyphicon-play" href="#"></a></li>
				<li><a class="glyphicon glyphicon-remove" href="#"></a></li>
			</ul>
		</div>
	</section>

CSS

html, body{
			height: 100%;
			width: 100%;
			overflow: hidden;
		}
		body *{
			color: white;
			line-height: 1;
		}
		.overlay{
			position: absolute;
			width: 100%;
			height: 100%;
			opacity: 0;
			z-index: -2;
			background: rgba(0,0,0,.7);
			-webkit-transition: all .5s;
			   -moz-transition: all .5s;
			    -ms-transition: all .5s;
			     -o-transition: all .5s;
			        transition: all .5s;
		}
		.overlay.on{
			opacity: 1;
		}
		.container-full{
			margin-left: 15px;
			margin-right: 15px;
			display: block;
		}
		.container-nav{
		}
		.container-nav ul{
			list-style: none;
			text-align: center;
			border-radius: 50%;
			position: absolute;
			bottom: -200px;
			height: 400px;
			width: 415px;
			margin-left: -15em;
			left: 50%;
			background-color: #54A9E4;
			border: 1px solid rgb(104, 104, 104);
			overflow: hidden;
			box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
			-webkit-transform: scale(.1);
			-moz-transform: scale(.1);
			-ms-transform: scale(.1);
			-o-transform: scale(.1);
			transform: scale(.1);
			-webkit-transform-origin: center center;
			-moz-transform-origin: center center;
			-ms-transform-origin: center center;
			-o-transform-origin: center center;
			transform-origin: center center;
			-webkit-transition: -webkit-transform .5s cubic-bezier(0.570, -0.600, 0.415, 1.625);
			-moz-transition: -moz-transform .5s cubic-bezier(0.570, -0.600, 0.415, 1.625);
			-ms-transition: -ms-transform .5s cubic-bezier(0.570, -0.600, 0.415, 1.625);
			-o-transition: -o-transform .5s cubic-bezier(0.570, -0.600, 0.415, 1.625);
			transition: transform .5s cubic-bezier(0.570, -0.600, 0.415, 1.625);
		}
		.container-nav-open ul{
			-webkit-transform: scale(1);
			-moz-transform: scale(1);
			-ms-transform: scale(1);
			-o-transform: scale(1);
			transform: scale(1);
		}
		.container-nav button{
			border-radius: 50%;
			position: absolute;
			left: 50%;
			width: 100px !important;
			margin-left: -3.7em;
			background-color: #2980b9;
			z-index:...

JavaScript

$("#btn").click(function(event) {
				/* Act on the event */
				if(!$(this).parent().hasClass('container-nav-open')){
					$(this).parent().addClass('container-nav-open');
					$(".overlay").addClass('on');
                    $(this).find("p").addClass("glyphicon-minus");
				}else{
					$(this).parent().removeClass('container-nav-open');
					$(".overlay").removeClass('on');	
                    $(this).find("p").removeClass("glyphicon-minus");
				}
			});