How can I change the scrollbar color inside a div?

2

How can I do to change the color and style of a scrollbar inside a div? I searched the internet and found this example but it did not work:

scrollbar-arrow-color:#000000; scrollbar-base-color:#000000; scrollbar-dark-shadow-color:#000000; scrollbar-face-color:#000000; scrollbar-highight-color:#000000; scrollbar-shadow-color:#000000;

What I need to do is this:

    
asked by anonymous 30.07.2015 / 15:40

1 answer

1

To do this use as below by changing the values.

.suadiv{
    scrollbar-face-color: #367CD2;
    scrollbar-shadow-color: #FFFFFF;
    scrollbar-highlight-color: #FFFFFF;
    scrollbar-3dlight-color: #FFFFFF;
    scrollbar-darkshadow-color: #FFFFFF;
    scrollbar-track-color: #FFFFFF;
    scrollbar-arrow-color: #FFFFFF;
}

Example working = link

    
30.07.2015 / 15:47