JSFiddle - React, Tailwind, and code Playground

by motocomdigital

HTML

<div id="wrapper">

    <div id="header">HEADER</div>

    <div id="content">
    
        <div class="modules">
        
            <!-- module array of 10 posts generated by a wordpress loop, variable height -->
        
            <div class="module"> <!-- module 1 -->
    
                <div class="module-inner">
                
                    <a class="title" href="http://bit.ly/x3nQ55" target="_blank">too many dicks on the dancefloor</a>
                
                    <div class="meta">Posted by Josh on <a href="http://bit.ly/x3nQ55">25th January 2012</a></div>
                
                    <div class="excerpt">
                
                        <div class="thumbnail" style="background-image: url('http://1.bp.blogspot.com/-L7Cm_gtZmKI/Ta7AsJxI1mI/AAAAAAAAAR0/qUEqZeAT8fY/s1600/Star-Wars-Republic-Commando-1354.jpg')"></div>
                   
                        Nam pharetra, est eget dictum sagittis, arcu massa rhoncus massa, in iaculis enim neque vel ipsum. Nullam a lectus ante. Integer faucibus libero ac elit vulputate at ultrices nisl molestie. Nam dolor sem, bibendum eu ultricies ac, varius sit amet... <a class="excerpt-link" href="http://bit.ly/x3nQ55"  target="_blank">read more</a>
                    
                    </div>
                
                    <a class="button" href="http://bit.ly/x3nQ55"  target="_blank">Read Full Article</a>          
                
                </div>
    
            </div>
        
            <div class="module"> <!-- module 2 -->
    
                <div class="module-inner">
                
                    <a class="title" href="http://bit.ly/x3nQ55" target="_blank">boom</a>
                
                    <div class="meta">Posted by Josh on <a href="http://bit.ly/x3nQ55">23th January 2012</a></div>
                
                    <div class="excerpt">
                
                        <div class="thumbnail" style="background-image:...

CSS

@import url("http://motocomdigital.co.uk/development/font-face/typography.css");

body {
    font-size:12px;
    -webkit-user-select:none;
    -webkit-text-size-adjust:none;
    font-family:helvetica;
    background: #d1d3d5;
}

#scroller {
   width: 100%;
   position: relative;
   height: 100%;
   overflow: hidden;
}

#header {
    background: #252525;
    width: 100%;
    margin: 0;
    position: relative;
    height: 43px;
    border-bottom: 2px solid #2cbcf5;
    color: #ffffff;
    font-family: 'HelveticaNeueBoldCond';
    text-align: center;
    font-size: 24px;
    line-height: 44px;
}

#footer {
    background: #ffffff;
    width: 100%;
    margin: 0;
    position: relative;
    border-top: 1px solid #c6c8c2;
    overflow: visible;
    clear: both;
    font-family: 'HelveticaNeueBoldCond';
    text-align: center; 
    font-size: 24px;
    line-height: 44px;
    height: 43px;
}

#content {
    padding: 5px;
}

.modules {
    width: 100%;
    overflow: hidden;
}

.module {
    width: 33.33%;
    float: left;
    overflow: hidden;
}

.module-inner {
    background-color: #ffffff;
    overflow: hidden;
    padding: 12px;
    margin: 5px;
}

.title {
    display: block;
    color: #252525;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0 0 5px;
    font: 26px/26px 'HelveticaNeueBoldCond';    
} 

.excerpt {
    margin: 5px 0 0;
    padding: 15px 0;
    border-top: 4px solid #2cbcf5;
    color: #252525;
    font: 14px/18px Georgia, "Times New Roman", Times, serif;
    min-height: 130px;    
}

a.excerpt-link {
    font-weight: normal !important;
    font-style: normal !important;
    text-decoration: none;
    color: #2cbcf5;
}

a.excerpt-link:hover {
    text-decoration: underline;
}

.meta {
    height: 15px;
    font: 12px/12px 'HelveticaNeueMediumCond';
    text-transform: uppercase;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #252525;
    overflow: hidden;
}

.meta a {
    font-weight: normal !important;
   ...