Consider the following stacked divs:
.page {
height: 100%;
}
.top {
height: 100%;
background-color: red;
}
.bottom {
height: 100%;
background-color: grey;
}
.options {
height: 100%;
overflow: scroll;
}
<div class="page">
<div class="top">
<h1>TOP</h1>
</div>
<div class="bottom">
<h1>Options Menu</h1>
<div class="options">
<h1>Option 1</h1>
<h1>Option 2</h1>
<h1>Option 3</h1>
<h1>Option 4</h1>
<h1>Option 5</h1>
<h1>Option 6</h1>
<h1>Option 7</h1>
<h1>Option 8</h1>
<h1>Option 9</h1>
<h1>Option 10</h1>
</div>
</div>
</div>
How can I change it to allow only the options to scroll, not the page?