You could either: a) use the “background-image” CSS property to set one image as the background. b) make your outer div “position: relative” and then set both your images to “position: absolute; top: 50%; left: 50; transform: translate(-50%, -50%)
The above is just base CSS rules, but you should be able to find the corresponding Tailwind classes through a quick web search.