JSFiddle - React, Tailwind, and code Playground
by cilex
HTML
<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<script src="http://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<div id='jqxwindow'>
<div>Header</div>
<div>Content</div>
</div>
CSS
html, body
{
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
overflow: auto;
}
JavaScript
$("#jqxwindow").jqxWindow({
maxHeight: '100%',
maxWidth: '100%',
width: '50%',
height: '50%'
});