JSFiddle - React, Tailwind, and code Playground
by Softlink
HTML
<div class="wrap">
<img src="http://farm5.staticflickr.com/4008/4248454190_abbb496d70_z.jpg?zz=1" alt="">
<div class="bottom"></div>
</div>
CSS
body{
background: #999;
}
.wrap{
position: relative;
width: 600px;
height: 400px;
margin: 0 auto;
overflow: hidden;
z-index: 1;
}
img{
position: relative;
display: block;
width: 100%;
height: 100%;
z-index: -1;
}
.bottom{
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 200px;
overflow: hidden;
border-top: 2px solid #222;
}
.bottom:before{
content:'';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: rgba(255,255,255,.9);
-webkit-filter: blur(1px);
filter: blur(1px);
z-index: -1;
}