JSFiddle - React, Tailwind, and code Playground

by jackdent

HTML

<div class="outerwrapper">
    <div class="hover"></div><div class="receiver"></div>
</div>
<br>
<div class="outerwrapper">
    <div class="hover"></div><div class="receiver"></div>
</div>

CSS

.hover {
    width: 50px;
    height: 50px;
    background-color: red;
}
.receiver {
    width: 50px;
    height: 50px;
    background-color: blue;
}