JSFiddle - React, Tailwind, and code Playground

by gazz96

HTML

<div class="container">
    	<div class="profile">
        	<div class="profile-img">
                <img src="http://i1270.photobucket.com/albums/jj618/087867894423/Taylor.jpeg"/>
            </div>
            <span>Taylor Swift</span>
        </div>
        
    	<ul>
  
            <li><a href="#">Dashborad</a></li>
            <li><a href="#">Notification</a></li>
            <li><a href="#">Entry</a></li>
            <li><a href="#">Setting</a></li>
       	</ul>
    </div>

CSS

*{
	margin:0;
	padding:0;
	box-sizing:border-box;
}

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

body,html{
	font-family:arial;
    background:#bfbfbf;
    height:100%;
}

ul,li{
	list-style:none;
}

a{
	text-decoration:none;
}

.container{
	width:4.5%;
    height:100%;
    cursor:pointer;
	background:rgba(255, 255, 255,1);
	transition:all 0.30s ease 0.30s;
    box-shadow:0px 0px 2px rgba(0,0,0,.50);
	
    
}

.container:hover{
	width:15%;
	transition:all 0.30s ease 0.30s;
}

.profile{
	width:100%;
	height:150px;
	padding-top:10px;
	transform:translateX(-100px);
	transition:all 0.30s ease 0.30s;
}

.container:hover .profile{
	transform:translateX(50px);
	transition:all 0.30s ease 0.30s;
}

.profile-img img{
	padding:10px;
	width:100px;
	height:100px;
	border-radius:100px;
}

.profile span{
	color:#212121;
	font-family:Arial, Helvetica, sans-serif;
	font-weight:bold;
	margin-top:5px;
}

.container ul li{
	padding:10px;
	cursor:pointer;
	border-top:1px solid rgba(2,2,2,.10);
	box-shadow:inset 0px 0px 0px 0px #bfbfbf;
	transition:all 0.30s ease 0.30s;
}

.container ul li:hover{
	box-shadow:inset -5px 0px 0px 0px #212121;
	transition:all 0.30s ease 0.30s;
}

.container ul li:first-child{
	background:url('http://i1270.photobucket.com/albums/jj618/087867894423/Dasboard.png');
	background-repeat:no-repeat;
	background-size:contain;
	background-position:10px;
}

.container ul li:nth-child(2){
	background:url('http://i1270.photobucket.com/albums/jj618/087867894423/Notif.png');
	background-repeat:no-repeat;
	background-size:contain;
	background-position:10px;
}

.container ul li:nth-child(3){
	background:url('http://i1270.photobucket.com/albums/jj618/087867894423/Write.png');
	background-repeat:no-repeat;
	background-size:contain;
	background-position:10px;
}

.container ul li:nth-child(4){
	background:url('http://i1270.photobucket.com/albums/jj618/087867894423/setting.png');
	background-repeat:no-repeat;
	background-size:contain;
	background-position:10px;
}

.container...