JSFiddle - React, Tailwind, and code Playground

by JDH9

HTML

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css">
<div class="row">
	<div class="col-md-3">
        <div class="box item" style="overflow: hidden;">
            <a title="Higher Education" href="#">
            	<div class="imgContainer " style="background-image:url(https://ununsplash.imgix.net/reserve/xpdPwXTASnOUXFpIPgDs_IMG_1460_edt.jpg?q=75&fm=jpg&s=14f08c0d844035df3c9fea8705d4c38c); "></div>
            	<div class="hiddenDesc">
                <strong class="h3">This title should be visible</strong>
                	<p>This description should be hidden until on hover</p>
                </div>
            </a>
        </div>
    </div>
</div>

CSS

/*  Bootstrap  */
	
	.row{ margin-left: 0px !important; margin-right: 0px !important;}
		/*  Nav  */
		
		.box { 
			float: left;
			text-align: center;
			padding-right: 15px; padding-left: 15px;
		}
		.box a { 
			color: #565a5c;
			font-weight: normal;
			text-decoration: none;
		}
		
		.imgContainer { 
			height: 240px;
			width: 100%;
			background-position: center center;
			background-size: cover;
			background-repeat: no-repeat;
			background-color: #565a5c;
		}
		
.hiddenDesc {
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 1.5em;
  background-color: #f1f1f1;
  position: relative;
  top: -1.15em;
  height: 100%;
  width: 100%;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

a:hover .hiddenDesc, footer a:focus .hiddenDesc, a.fakeLink:focus .hiddenDesc, a.page-numbers:focus .hiddenDesc {
  top: -5em;
}