JSFiddle - React, Tailwind, and code Playground

HTML

<div class="thumbnail">
<img src="http://placehold.it/50x50">

</div>
<p>tttttttttt</p>

CSS

.overthumb { display: none; }

.thumbnail:hover + p {
    color:red;
}