JSFiddle - React, Tailwind, and code Playground
HTML
<div id='menuI'></div>
CSS
#menuI {
height:100px;
width:100px;
background:url('https://www.teledynedalsa.com/images/semi/STA1600_2_200w.jpg') 0px 0px;
text-align:justify;
}
JavaScript
$(document).ready(function () {
$('#menuI').mouseenter(function () {
$(this).stop().animate({'background-position-y':'100px'});
});
$('#menuI').mouseleave(function () {
$(this).stop().animate({'background-position-y':'0px'});
});
});