JSFiddle - React, Tailwind, and code Playground
HTML
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<p>Click on the box to toggle the box.</p>
<div id="toggle">asdasdasdasdasd</div>
CSS
#toggle {
width: 100px;
height: 100px;
background: #ccc;
}
JavaScript
$('#toggle').css(
{"position" : "absolute",
"top":'0', "right": '0'});
$( "#toggle" ).click(function() {
$( "#toggle" ).effect( "blind", {direction: "horizontal"}, 1000);
});