JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<script src=" https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script><script src="http://ricostacruz.com/jquery.transit/jquery.transit.min.js"></script>
</head>
<body>
<div>
<div id="div1">
</div>
<div id="div2">
</div>
<div id="div2">
</div>
</div>
</body>
</html>
CSS
div1
{
width:150px;
height:100px;
position:relative;
background:#9F0;}
#div2
{
width:50px;
height:50px;
background:
#F00;
position: absolute
}
JavaScript
$('#div2').hover(
function () {
$(this).transition({ x: 90 });
});