JSFiddle - React, Tailwind, and code Playground
by Joshua Powell
HTML
<div class="image">
<div class="info"></div>
<p class="text">By: John Doe Title: Fishing with the dudes</p>
</div>
<div class="social">
<ul>
<li>Likes: 237</li>
<li>Share</li>
<li>Save</li>
</ul>
</div>
CSS
p {
padding: 0;
margin: 0;
}
ul {
list-style-type: none;
padding: 0;
margin: 0;
width: 400px;
}
li {
padding: 0;
margin: 0;
width: 32.5%;
display: inline-block;
}
.image {
background: url(http://www.militarymentalhealth.org/blog/wp-content/uploads/2012/03/fishing-image.jpg);
width: 400px;
height: 300px;
background-size: 100%;
background-position: center center;
display: inline-block;
position: relative;
}
.info {
position: absolute;
background: rgba(255, 255, 255, 0.5);
z-index: 1000;
bottom: 0;
left: 0;
width: 100%;
height: 40px;
text-align: center;
-webkit-filter: blur(2px);
-moz-filter: blur(5px);
-o-filter: blur(5px);
-ms-filter: blur(5px);
filter: blur(5px);
}
.text {
position: absolute;
height: 40px;
bottom: 5px;
left: 5px;
font-size: 20px;
line-height: 50px;
color: #2b2b2b;
z-index: 1001;
}
.social {
background: #c1c1c1;
width: 400px;
position: relative;
top: 0;
}
.social li {
}