JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css">
<script src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js"></script>
<div id="resizable"></div>
<div id="log"></div>
CSS
#resizable {
position: fixed;
top: 50px;
left: 50px;
width: 100px;
height: 100px;
background: green;
}
#log {
float: right;
}
JavaScript
$( "#resizable" ).resizable({
handles: "all",
stop: function() {
$( "<p>" )
.text( $( "#resizable" ).css( "position" ) )
.appendTo( "#log" );
}
});
$( "<p>" )
.text( $( "#resizable" ).css( "position" ) )
.appendTo( "#log" );