JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css">
<body>
<div class="gridSection gridGroup">
<div class="gridCol gridSpan">
<div class="detailContainer">
<div class="thumbnailContainer video_embed">
<iframe src="//www.youtube.com/embed/Kdgt1ZHkvnM?rel=0" frameborder="0" allowfullscreen></iframe>
</div>
<div class="titleSection">
<a class="mediaTitle" href=""><h3>Some super title.</h3></a>
<h4 class="muted">Some witty, smart, clever description of the image.</h4>
</div>
<div class="statsSection">
<div><i class="icon-comments dimmed Tooltip"></i> 123</div>
<div><i class="icon-group dimmed Tooltip"></i> 456</div>
<div><i class="icon-thumbs-up dimmed Tooltip"></i> 789</div>
<div><i class="icon-star-half-empty dimmed Tooltip"></i> 101</div>
</div>
</div>
</div>
<div class="gridCol gridSpan">
<div class="detailContainer">
<div class="thumbnailContainer">
<img src="http://dummyimage.com/200x200/911/fff.png" class="thumbImage" />
</div>
<div class="titleSection">
<a class="mediaTitle" href=""><h3>Some super title.</h3></a>
<h4 class="muted">Some witty, smart, clever description of the image.</h4>
</div>
<div class="statsSection">
<div><i class="icon-comments dimmed Tooltip"></i> 123</div>
<div><i class="icon-group dimmed Tooltip"></i> 456</div>
<div><i class="icon-thumbs-up dimmed Tooltip"></i> 789</div>
<div><i class="icon-star-half-empty dimmed Tooltip"></i> 101</div>
...
CSS
body
{
font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
color: rgb(20,20,20);
word-wrap: break-word;
line-height: 1.28;
}
.gridSection
{
clear: both;
padding: 0px;
margin: 0px;
background-color: white;
margin-bottom: 50px;
}
.gridCol
{
display: block;
float:left;
margin-right: 1.6%;
}
.gridSpan
{
width: 31%;
}
.detailContainer
{
margin-top: 10px;
position: relative;
border: 1px solid #a5cae4;
border-radius: 4px;
box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
}
.detailContainer .thumbImage
{
width: 100%;
vertical-align: middle;
}
.detailContainer .titleSection
{
padding: 3px;
min-height: 30px;
}
.detailContainer .titleSection h3
{
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
font-weight: bold;
font-size: 14px;
}
.detailContainer .titleSection h4
{
font-size: 9px;
font-style: italic;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.detailContainer .statsSection
{
padding: 4px;
}
.detailContainer .statsSection div
{
width: 48%;
display: inline-block;
padding-bottom: 3px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.detailContainer .statsSection i
{
font-size: 16px;
width: 20px;
display: inline-block;
text-align: center;
}
.detailContainer .mediaControls
{
padding: 0 0 5px 5px;
}
.detailContainer .mediaControls .inlineModControl
{
width: 10%;
display: none;
}
.detailContainer .mediaControls .mediaLabels
{
width: 97%;
display: inline-block;
text-align: right;
}
.thumbnailContainer
{
overflow: hidden;
position: relative;
width: 100%;
min-height: 200px;
max-height: 200px;
}
.thumbnailContainer.video_embed
{
position: relative;
padding: 0;
height: 0;
overflow: hidden;
}
.thumbnailContainer.video_embed iframe
{
position: absolute;
top: 0;
left:...