JSFiddle - React, Tailwind, and code Playground
HTML
<div class="container">
<img src="http://stackoverflow.com/content/stackoverflow/img/apple-touch-icon.png" />
</div>
CSS
.container {
position: relative;
}
.container:after {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
content: '';
-moz-box-shadow: inset 0 0 5px #000000;
-webkit-box-shadow: inset 0 0 5px #000000;
box-shadow: inset 0 0 5px #000000;
}