JSFiddle - React, Tailwind, and code Playground

HTML

<div class="container">
   <section class="ff-container">
      <input id="select-type-all" name="radio-set-1" type="radio" class="ff-selector-type-all" checked="checked" />
      <label for="select-type-all" class="ff-label-type-all">All</label>
      <input id="select-type-1" name="radio-set-1" type="radio" class="ff-selector-type-1" />
      <label for="select-type-1" class="ff-label-type-1">Web Design</label>
      <input id="select-type-2" name="radio-set-1" type="radio" class="ff-selector-type-2" />
      <label for="select-type-2" class="ff-label-type-2">Illustration</label>
      <input id="select-type-3" name="radio-set-1" type="radio" class="ff-selector-type-3" />
      <label for="select-type-3" class="ff-label-type-3">Icon Design</label>
      <div class="clr"></div>
      <ul class="ff-items">
         <li class="ff-item-type-2">
            <a href="#">
            <span>Chameleon</span>
            <img src="https://tympanus.net/Tutorials/CSS3FilterFunctionality/images/1.jpg" />
            </a>
         </li>
         <li class="ff-item-type-1">
            <a href="#">
            <span>Tutorials (wip)</span>
            <img src="https://tympanus.net/Tutorials/CSS3FilterFunctionality/images/2.jpg" />
            </a>
         </li>
         <li class="ff-item-type-2">
            <a href="#">
            <span>Flower</span>
            <img src="https://tympanus.net/Tutorials/CSS3FilterFunctionality/images/3.jpg" />
            </a>
         </li>
         <li class="ff-item-type-1">
            <a href="#">
            <span>Symplas website</span>
            <img src="https://tympanus.net/Tutorials/CSS3FilterFunctionality/images/4.jpg" />
            </a>
         </li>
         <li class="ff-item-type-3">
            <a href="#">
            <span>TRON: Mobile version</span>
            <img src="https://tympanus.net/Tutorials/CSS3FilterFunctionality/images/5.jpg" />
            </a>
         </li>
         <li class="ff-item-type-2">
       ...

CSS

/* CSS reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin:0;
	padding:0;
}
html,body {
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img { 
	border:0;
}
address,caption,cite,code,dfn,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul {
	list-style:none;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,q:after {
	content:'';
}
abbr,acronym { border:0;
}
section, header{
	display: block;
}
/* General Demo Style */
body{
	background: #e0e3ec;
	font-weight: 400;
	font-size: 15px;
	color: #393b40;
	overflow-y: scroll;
}
a{
	color: #333;
	text-decoration: none;
}
.container{
	width: 100%;
	position: relative;
	text-align: center;
}
.clr{
	clear: both;
}
.container > header{
	padding: 20px 30px 10px 30px;
	margin: 0px 20px 10px 20px;
	position: relative;
	display: block;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    text-align: center;
}
.container > header h1{
	font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
	font-size: 35px;
	line-height: 35px;
	position: relative;
	font-weight: 400;
	color: #6d7aa1;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    padding: 0px 0px 5px 0px;
}
.container > header h1 span{
	color: #8997c0;
	text-shadow: 0px 1px 1px rgba(255,255,255,0.8);
}
.container > header h2{
	font-size: 16px;
	font-style: italic;
	color: #82858e;
	text-shadow: 0px 1px 1px rgba(255,255,255,0.8);
}
/* Header Style */
.codrops-top{
	font-family:'Arial Narrow', Arial, sans-serif;
	line-height: 24px;
	font-size: 11px;
	background: #000;
	opacity: 0.9;
	text-transform: uppercase;
	z-index: 9999;
	position: relative;
	-moz-box-shadow: 1px 0px 2px #000;
	-webkit-box-shadow: 1px 0px 2px #000;
	box-shadow: 1px 0px 2px #000;
}
.codrops-top a{
	padding: 0px 10px;
	letter-spacing: 1px;
	color: #ddd;
	display: block;
	float: left;
}
.codrops-top a:hover{
	color: #fff;
}
.codrops-top...