JSFiddle - React, Tailwind, and code Playground
HTML
<div class="test">
CSS
.test {
width: 500px;
height: 500px;
background-image: url("https://mdn.mozillademos.org/files/7693/catfront.png");
background-position: 50% 50%;
background-repeat: no-repeat;
border: 1px solid black;
}