autopatrol
3,554
edits
(Moving content.) |
No edit summary |
||
Line 1: | Line 1: | ||
#container { | |||
position: relative; | |||
overflow: hidden; | |||
width: 200px; | |||
} | |||
#scrollable_content { | |||
overflow: auto; | |||
height: 200px; | |||
padding-right: 24px; | |||
} | |||
#scrollbar { | |||
background: blue; | |||
height: 100%; | |||
width: 30px; | |||
position: absolute; | |||
right: 0px; | |||
top: 0px; | |||
} | |||
#slider { | |||
background: gray; | |||
position: absolute; | |||
top: 0px; | |||
left: 0px; | |||
width: 100%; | |||
} |