summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/scrolling/custom-scrollbar-style-applied-with-overflow-attribute-expected.html
blob: 81ff4d2b70da4c0a62887cb141681e907a45fb3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE HTML>
<style>
::-webkit-scrollbar {
    width: 100px;
    height: 10px;
}
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 1px;
    background: rgba(255,0,0,0.8);
    -webkit-box-shadow: inset 0 0 1px rgba(255,250,0,0.5); 
}
#space {
    width: 1000px;
    height: 1000px;
}
html {
    overflow: scroll;
}
</style>
<div id="space"></div>