how to fix position when scrolling css code example
Example 1: how to scroll fixed position
.fixed-content {
top: 0;
bottom:0;
position:fixed;
overflow-y:scroll;
overflow-x:hidden;
}
Example 2: fixed div with scrollable content
.fixed-content {
overflow-y:scroll;
overflow-x:scroll;
}