JSFiddle - React, Tailwind, and code Playground

by akaimo

HTML

<div class="module">
    <div class="module-head">CrudeHub Features</div>
    <div class="module-body"> 

   <section class="chwidget">
    <div class="chwidget-heading">
      <h3 class="chwidget-title">News &amp; Analysis</h3>
        <a href="index.html" class="chwidget-close"><span class="icon-close">view</span></a>
    </div>

    <ul class="chwidget-toolbar wprd">
      <li><a href="index.html">Latest Entries</a></li>
      <li><span class="badge">2</span></li>
    </ul>

    <ul class="ch-features">
      <li class="featurebox featurebox-active">
        <span class="featurebox-name">Permian Basin Crude & WTI vs Lighter Crude/Condensate Production</span><p class="featurebox-info">May 18, 2014</p>
      </li>
        <li class="featurebox featurebox-active">
        <h4 class="featurebox-name">Gulf Coast Gasoline Exports, Spot Gasoline Clearing Prices and Margin Impacts</h4>
            <p class="featurebox-info">May 16, 2014</p>
      </li>
        <li class="featurebox featurebox-active">
        <h4 class="featurebox-name">Eagle Ford Crude and Cushing Inventory Shift: Tipping Point for Gulf Coast Light Crude Supply Length and Pricing</h4>
            <p class="featurebox-info">May 13, 2014</p>
      </li>
      <li class="featurebox">
        <h4 class="featurebox-name sub"><a href="#">Go to News &amp; Analysis</a></h4>
      </li>
    </ul>
  </section>        
        
        
<section class="chwidget">
    <div class="chwidget-heading">
      <h3 class="chwidget-title">Pipelines</h3>
      <a href="index.html" class="chwidget-close"><span class="icon-close">view</span></a>
    </div>

    <ul class="chwidget-toolbar wpipe">
      <li><a href="index.html">Project updates</a></li>
      <li><span class="badge">4</span></li><li><a href="index.html">View all</a></li>
    </ul>

    <ul class="ch-features">
      <li class="featurebox featurebox-active">
        <span class="icon-psd-40 featurebox-icon"></span>
        <h4 class="featurebox-name">Enbridge...

CSS

body {
    background-color: #eeeeee;
    padding: 1em;
    font-family:helvetica,arial,sans-serif;
}

.module {
  background: #ffffff;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  border: 1px solid #cccccc;
  border-bottom-color: #bbbbbb;
  -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
}
.module-head {
  background: #f0f0f0;
  background-color: #f1f1f1;
  background-image: -moz-linear-gradient(top, #f5f5f5, #eaeaea);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#eaeaea));
  background-image: -webkit-linear-gradient(top, #f5f5f5, #eaeaea);
  background-image: -o-linear-gradient(top, #f5f5f5, #eaeaea);
  background-image: linear-gradient(to bottom, #f5f5f5, #eaeaea);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffeaeaea', GradientType=0);
  border-bottom: 1px solid #ddd;
  -webkit-border-radius: 2px 2px 0 0;
  -moz-border-radius: 2px 2px 0 0;
  border-radius: 2px 2px 0 0;
  padding: 10px 15px;
}
.module-head h3 {
  font-size: 14px;
  line-height: 20px;
  height: 20px;
  margin: 0;
}
.module-option {
  border-bottom: 1px solid #e5e5e5;
  padding: 15px 0;
  margin: 0 15px;
}
.module-subtle {
  font-style:italic;
    color:#999;
    font-size:11px;
    font-family:"Open Sans", calibri, arial, sans-serif;
    text-decoration:italic;
    float:left;
    display:inline-block;
    position:relative;
    top:8px;
}
.module-body {
  padding: 15px;
}
.module-body.table {
  padding: 15px 0;
}
.module-body.table .table th,
.module-body.table .table td {
  padding-left: 15px;
  padding-right: 15px;
}
.module-foot {
  background: #f9f9f9;
  border-top: 1px solid #ddd;
  -webkit-border-radius: 0 0 2px 2px;
  -moz-border-radius: 0 0 2px 2px;
  border-radius: 0 0 2px 2px;
  padding: 15px;
}

.module span.badge {
  display: inline-block;
 ...