On my webpage, I want both my sidebar to reach down to the bottom of the page, even if the main content area gets longer. However, it doesn't.
#main {
}
#left {
background-color: grey;
height: 100%;
}
#right {
background-color: yellow;
}
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet"/>
<div id="main" class="row">
<div id="left" class="col-sm-6 col-xs-6">
<div id="sidebar">
<p>Item 1</p>
<p>Item 2</p>
<p>Item 3</p>
<p>Item 4</p>
<p>Item 5</p>
</div>
</div>
<div id="right" class="col-sm-6 col-xs-6">
<div id="somethingLong">
<div id="bigItem">
<h2> My big Car </h2>
</div>
<div id="bigItem">
<h2> My big house </h2>
</div>
<div id="bigItem">
<h2> My big Paycheck </h2>
</div>
<div id="bigItem">
<h2> My big mom </h2>
</div>
</div>
</div>
</div>
How do I get left
to be at least as long as right
, or at best, reach to the bottom of the page?