JSFiddle - React, Tailwind, and code Playground
HTML
<div class="container-one">
<h1>Sign up now!</h1>
<img src="https://picsum.photos/300/700" alt="">
</div>
CSS
.container-one{
position: relative;
}
img {
width: 100%;
}
h1 {
top: 30%;
left: 0;
width: 100%;
position: absolute;
z-index: 55;
text-align: center;
}