Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

change the scroll

How to change the background of the elements of the scroll?

Comments

  • edited June 7 Firefox
    docs/Web/CSS/::-webkit-scrollbar.
    Maybe, it still works with Chrome.
    Try:
    @-moz-document url-prefix("http") {
    /*Changing width might enable it*/
    body::-webkit-scrollbar {
    width: 12px;}
    /*Outer lines*/
    body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(90,90,90,.7);}
    /*scroll button*/
    body::-webkit-scrollbar-thumb {
    background-color: green;}
    body::-webkit-scrollbar-thumb:hover {
    background-color: white;}}
Sign In or Register to comment.