JSFiddle - React, Tailwind, and code Playground

HTML

<div></div>

CSS

div {
    width: 500px;
    height: 400px;
    background: red url(https://www.google.com/images/logos/google_logo_41.png) no-repeat scroll 50% 50%/cover;
}