JSFiddle - React, Tailwind, and code Playground
HTML
<div id="outer">
<div id="image">
<img src="https://www.petfinder.com/wp-content/uploads/2012/11/91615172-find-a-lump-on-cats-skin-632x475.jpg" style="width:100px;height:100px;">
</div>
<div id="button">
<button>
hey click me pls
</button>
</div>
</div>
CSS
#image:hover + #button {
background-color: red;
}