Serhio g. Lazin Serhio g. Lazin -4 years ago 184
CSS Question

Css background color for scroll area

Is there a way to set color for scroll area? (marked with red)
enter image description here

Answer Source

You can do like this:

body::-webkit-scrollbar {
    width: 1em;

body::-webkit-scrollbar-track {
  background: red;

body::-webkit-scrollbar-thumb {
  background: darkgrey;

Only problem is that isnt supported on all browsers.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download