JSFiddle - React, Tailwind, and code Playground

by Barney Carroll

HTML

<div id="page_wrapper">
    <div class="progress-gallery-wrapper progress-gallery-before-wrapper">
        <div class="progress-gallery-before-description progress-gallery-description">This is the Before Description.</div>
        <div class="progress-gallery-before-images progress-gallery-images">
            <div class="progress-gallery-before-image progress-gallery-image">	<a href="#"><img width="150" height="150" alt="" src="test.jpg" class="th"></a>	
            </div>
            <!-- progress-gallery-image -->
            <div class="progress-gallery-before-image progress-gallery-image">	<a href="#"><img width="150" height="150" alt="" src="test.jpg" class="th"></a>	
            </div>
            <!-- progress-gallery-image -->
            <div class="progress-gallery-before-image progress-gallery-image">	<a href="#"><img width="150" height="150" alt="" src="test.jpg" class="th"></a>	
            </div>
            <!-- progress-gallery-image -->
            <div class="progress-gallery-before-image progress-gallery-image">	<a href="#"><img width="150" height="150" alt="" src="test.jpg" class="th"></a>	
            </div>
            <!-- progress-gallery-image -->
            <div class="progress-gallery-before-image progress-gallery-image">	<a href="#"><img width="150" height="150" alt="" src="test.jpg" class="th"></a>

            </div>
            <!-- progress-gallery-image -->
            <div class="progress-gallery-before-image progress-gallery-image">	<a href="#"><img width="150" height="150" alt="" src="test.jpg" class="th"></a>	
            </div>
            <!-- progress-gallery-image -->
            <div class="progress-gallery-before-image progress-gallery-image">	<a href="#"><img width="150" height="150" alt="" src="test.jpg" class="th"></a>	
            </div>
            <!-- progress-gallery-image -->
            <div class="progress-gallery-before-image progress-gallery-image">	<a href="#"><img width="150" height="150" alt=""...

CSS

body {
    margin:0px;
    padding:0px;
    background-color: black;
}
#page_wrapper {
    width: 100%;
    background-color: red;
    margin: 0px auto;
}
#page_wrapper:after {
    content:".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
*, *:before, *:after {
    -moz-box-sizing: border-box;
}
.progress-gallery-wrapper:after {
    clear: both;
    content:".";
    display: block;
    height: 0;
    visibility: hidden;
}
.progress-gallery-wrapper {
    float: left;
    text-align: center;
    width: 100%;
}
.progress-gallery-description {
    font-family: Verdana;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.progress-gallery-images {
    display: block;
    margin: 0 auto;
    text-align: center;
}
.progress-gallery-image {
    display: inline-block;
    margin-bottom: 20px;
    margin-right: 20px;
}
.progress-gallery-image img {
    float: left;
}
.progress-gallery-image a {
    display: block;
    float: left;
}
.th {
    border: 4px solid #FFFFFF;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
    display: inline-block;
    line-height: 0;
    max-width: 100%;
    transition: all 200ms ease-out 0s;
}
a img {
    border: medium none;
}
img {
    display: inline-block;
    vertical-align: middle;
}
a {
    color: #008CBA;
    line-height: inherit;
    text-decoration: none;
}
a {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
}