JSFiddle - React, Tailwind, and code Playground

by Maulik Anand

HTML

<div class="landing-cover">
					<img class="cover-img" src="http://www.mcb.mu/en/media/MCB-FIFA-web-900x350pixel-52px_tcm9-6025.jpg" alt="img04">
					<div class="grad-overlay"></div>
					<div class="desc">
						<h1>Title</h1>
						<p>30/20/2014</p>
					</div>
					<div class="figcaption">
						<div class="btn-container">
						<button class="btn btn-custom btn-home">Button1</button>
						<button class="btn btn-custom btn-home">Button2</button>
						<button class="btn btn-custom btn-home">Button3</button>
						</div>
					</div>
				</div>

CSS

.client {
  	max-width: 900px;
}

.client-jumbotron {
	padding: 0px;
	margin: 0px;
}

.cover-img {
	/*Adjust the image to center - crop the left/right if needed*/
	margin:auto;
	display: block;

	
	width: 100%;
	position: relative;
     -moz-border-radius: 10px;
     -webkit-border-radius: 10px;
	border-radius: 10px;
      z-index: -1;
	margin-top: 10px;
}


.landing-cover {
  /* force the div to properly contain the floated images: */
  position:relative;
  float:left;
  clear:none;
  overflow:hidden;
}
.landing-cover .img {
  	position:relative;
  	z-index:1;
}

.grad-overlay {
  display:block;
  position:absolute;
  background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.65))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.35) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.35) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.35) 100%); /* IE10+ */
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.35) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
 -moz-border-radius: 10px;
 -webkit-border-radius: 10px;
  border-radius: 10px;
  height: 100%;
  width:100%;
  top:0;
  left:0;
  z-index:1;
}

.desc {
  display:block;
  position:absolute;
  width:100%;
  top:35%;
  left:0;
  z-index:2;
  text-align:center;

}

.landing-cover h1 {
	font-family: 'Parisienne';
    font-size: 4em;
	color: #fff;
}

.landing-cover p {
    font-size: 2em;
	color: #fff;
}

.figcaption {
	z-index: 4;
	position: absolute;	
	height: 50px;
	width: 100%;	
	bottom: 0;
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
	-ms-transform:...