JSFiddle - React, Tailwind, and code Playground
HTML
<div style="background-color:#3C5D53">
<input type="button" id="lb" value="Button">
<img src="http://playrust.com/wp-content/uploads/2013/12/rust-icon-512.png" id="h" height="130px"/>
</div>
CSS
#lb {float:right;color:#6C2D58;font-size:40px;font-family:Impact;transition: 1s}
#lb:hover{
background:pink;
}
#lb:hover + #h {-webkit-transform:rotate(270deg);transform:rotate(270deg);
}
#h {transition:1s}