.left-sidebar {
position: absolute;
width: 20%;
background: #000;
transform: skewY(5px);
}
.content {
background: #fff;
}
The property that "curves" the div
is this property in CSS transform: skew(X,Y)
.Try that, hope it helps.
But I suggest that you create 2 div
side-by-side in order to get the desired effect.