JSFiddle - React, Tailwind, and code Playground
HTML
<div class="container"></div>
CSS
body{
margin: 0;
}
.container {
width: 100vw;
height: 100vh;
background-color: grey;
background: url("https://newevolutiondesigns.com/images/freebies/nature-hd-background-25.jpg") center no-repeat;
background-size: cover;
}