JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/base/jquery-ui.css">
<div id="my-frame-wrapper">
<iframe id="my-frame" src="http://jsfiddle.net/"></iframe>
<div id="mask"></div>
</div>
CSS
#my-frame-wrapper {
width:200px;
height:100px;
position:relative;
}
#my-frame {
width:100%;
height:100%;
}
#mask {
position:absolute;
top:0;
width:0;
margin:0;
padding:0;
width:100%;
height:100%;
display:none;
}
JavaScript
$(function(){
$("#my-frame-wrapper").resizable({
start: function(event, ui) {
$("#mask").css("display","block");
},
stop: function(event, ui) {
$("#mask").css("display","none");
}
});
});