JSFiddle - React, Tailwind, and code Playground

HTML

<div class="element"></div>

CSS

html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

.element {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.element:after {
    content:'';
    position: absolute;
    left: -2px;
    right: -2px;
    top: -2px;
    bottom: -2px;
    background-image: url('http://s12.postimg.org/wlzwprcct/Photopodborka_012.jpg');
    background-size: cover;
    background-position: 50% 50%;
}