JSFiddle - React, Tailwind, and code Playground
by Andrew Ice
HTML
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-4">
<div class="thumbnail grey mb-30">
<img src="https://placeholdit.imgix.net/~text?txtsize=33&txt=350%C3%97150&w=350&h=150" class="img-responsive picto_padding" alt="...">
<div class="caption">
<h3>Responsibe finance</h3>
<p>We’re the responsible alternative for those who find High Street bank finance difficult to obtain. </p>
</div>
</div>
</div>
CSS
.img-center {
display: flex;
justify-content: center;
align-items: center;
}
.grey {
background: #f0f0f0;
}
.thumbnail {
border: none;
display: flex;
justify-content: center;
align-items: center;
}
.mb-30 {
margin-bottom: 30px;
}
.thumbnail {
border: none;
min-height: 450px;
position: relative;
}
.caption{
position:absolute;
bottom:0;
}