JSFiddle - React, Tailwind, and code Playground

by Beardy

HTML

<link rel="stylesheet" href="https://raw.github.com/blat/jquery-flickr-plugin/master/css/jquery.flickr.css">
<script src="http://beta.gatherss.com/flickr.js"></script>
<div class="row"></div>
<!--
<div class="span3">
       <div class="img-container">
        <figure class="recent-work-img">
         <img alt="img" src="img/gallerypic1.png">
        </figure>
       </div>
      </div>
-->

CSS

.span3 {
    width: 270px;
}
[class*="span"] {
    float: left;
    margin-left: 30px;
    min-height: 1px;
}
.span3 {
    width: 220px;
}
[class*="span"] {
    float: left;
    margin-left: 20px;
    min-height: 1px;
}

.img-container {
    background-color: #FFFFFF;
    border: 1px solid #D8D5D6;
    border-radius: 6px 6px 6px 6px;
    box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 10px;
}

.gallery-container .images-container .img-container .recent-work-img {
    position: relative;
}
figure {
    margin: 0;
    padding: 0;
}
img {
    border: 0 none;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}
.gallery-container .images-container .img-container {
    background-color: #FFFFFF;
    border: 1px solid #D8D5D6;
    border-radius: 6px 6px 6px 6px;
    box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 10px;
}
.row:before, .row:after {
    content: "";
    display: table;
    line-height: 0;
}
.row:before, .row:after {
    content: "";
    display: table;
    line-height: 0;
}
.row:after {
    clear: both;
}
.row:before, .row:after {
    content: "";
    display: table;
    line-height: 0;
}
.row:after {
    clear: both;
}
.row:before, .row:after {
    content: "";
    display: table;
    line-height: 0;
}
.row {
    margin-left: -30px;
}
.row {
    margin-left: -20px;
}
body {
    background: #F8F8F8;
    border-top: 5px solid #247FC9;
    color: #545454;
    font-family: "Open Sans",Helvetica,Arial,sans-serif;
    font-size: 100%;
    line-height: 1;
}

JavaScript

$(function() {
        $('.row').flickr({
            user_id: '45936217@N07',
            api_key: 'b9b5c573d1b92ac355e1f2e40edb61b6',
            count: 4,
            
        });
    });