JSFiddle - React, Tailwind, and code Playground

by Manuel Souto Pico

HTML

<div><i>Element to be covered</i> <span>Shiny new element</span></div>

CSS

div {position: relative; width: 200px; height: 50px;}
span {position: absolute; top: 0; left: 0; height: 100%; width: 100%;}