How can I change the color of scrollbar inside a div?

Asked

Viewed 3,005 times

2

How can I change the color and style of a scroll bar within a div? I searched the internet and found this example but it didn’t 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: inserir a descrição da imagem aqui

1 answer

1


For this use as below 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;
}

Working example = http://jsfiddle.net/hmartiro/Xck2A/1/

Browser other questions tagged

You are not signed in. Login or sign up in order to post.