3 div::-webkit-scrollbar {
8 div::-webkit-scrollbar-button {
14 div::-webkit-scrollbar-button:-webkit-decrement:-webkit-start {
15 background-color:lightblue;
16 border:2px solid black;
19 div::-webkit-scrollbar-button:-webkit-increment:-webkit-start {
20 background-color:lightgreen;
21 border:2px solid black;
24 div::-webkit-scrollbar-button:-webkit-decrement:-webkit-end {
25 background-color:orange;
26 border:2px solid black;
29 div::-webkit-scrollbar-button:-webkit-increment:-webkit-end {
30 background-color:brown;
31 border:2px solid black;
34 div::-webkit-scrollbar-button:hover {
35 background-color:black !important;
38 div::-webkit-scrollbar-thumb {
41 background-color: navy;
42 border:2px solid #cccccc;
45 div::-webkit-scrollbar-track {
46 background-color: pink;
49 div::-webkit-scrollbar-thumb:hover {
50 background-color: green;
53 div::-webkit-scrollbar-thumb:active {
54 border:3px dotted white;
57 div::-webkit-scrollbar-track:hover {
58 background-color: maroon;
64 <div style="width:200px; height:200px; overflow-y:scroll; overflow-x:hidden">
66 Hello<br>Hello<br>Hello<br>Hello<br>Hello<br>Hello<br>Hello<br>
67 Hello<br>Hello<br>Hello<br>Hello<br>
68 Hello<br>Hello<br>Hello<br>Hello<br>
69 <span style="white-space:nowrap">Hello world this is a long string and will not wrap.</span>
70 Hello<br>Hello<br>Hello<br>Hello<br>
71 Hello<br>Hello<br>Hello<br>Hello<br>Hello<br>Hello<br>
72 Hello<br>Hello<br>Hello<br>Hello<br>
73 Hello<br>Hello<br>Hello<br>Hello<br>Hello<br>Hello<br>
74 Hello<br>Hello<br>Hello<br>Hello<br>
75 Hello<br>Hello<br>Hello<br>