Resizable
by agib
HTML
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<div class="wrapper">
<div class="inner-wrapper">
<div class="left pane">
<div class="left-pane-inner">
<div class="top">Left (top)</div>
<div class="bottom">Left bottom</div>
</div>
</div>
<div class="right pane">Right</div>
</div>
</div>
CSS
body {
position: relative;
}
.wrapper {
position:absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: lightyellow;
}
.inner-wrapper {
display: table;
}
.pane {
display: table-cell;
}
.left.pane {
background-color: lightblue;
}
.left-pane-inner {
display: table;
width: 100%;
}
.right.pane {
background-color: #999;
height: 100%;
}
/*.left.pane.top, .left.pane.bottom {
display: table-row;
}*/
.bottom {
width: 100%;
background-color: lightgreen;
}
JavaScript
$(function () {
$(".left.pane").resizable({
handles: "e, w"
});
});