Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<div class="parent">
    <div class="child-left">
      add content for the left column
    </div>
    <div class="child-right">
      add content for the right column which is full height
    </div>
</div>
* {
  box-sizing: border-box;
}
.parent > div {
  padding:20px;
}
.parent {
    overflow: hidden;
    position: relative;
    width: 100%;
    color:red;
    background-color:pink;
    min-height:500px;
}
.child-left {
   width: 50%;
}
.child-right {
    background:green;
    height: 100%;
    position: absolute;
    color:yellow;
    top: 0;
    right: 0;
    width: 50%;
}
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers