JSFiddle - React, Tailwind, and code Playground
HTML
<div>
<h1>Mytitle</h1>
</div>
CSS
body{
background: #f3f3f3;
height:500px;
}
div {
text-align:center;
color:white;
width:80%;
margin:300px auto;
line-height:200px;
background:url('http:/lorempixel.com/600/600') no-repeat center;
background-attachment: fixed;
}
div h1 {
font-size:3em;
}