JSFiddle - React, Tailwind, and code Playground

HTML

<div id="normal-repeat">normal-repeat</div>
<div id="half-drop">half-drop</div>
<div id="half-brick">half-brick</div>
<div id="mirror">mirror</div>
<div id="center">center</div>

CSS

div {
    width: 400px;
    height: 250px;
    margin: 10px 0;
    border: 1px solid black;
}

JavaScript

// This is just an example URL.
// A public URL to an image couldn't be used here, see http://stackoverflow.com/questions/2390232
var exampleImageUrl =...