Home > Enterprise >  Youtube scroll bar styling
Youtube scroll bar styling

Time:10-01

Does anybody knows how Youtube has made this custom scrollbar?

enter image description here

Is new --web-kit is used or some plugin?

CodePudding user response:

This is some -webkit-scrollbar CSS properties.

You will find the necessary documentaiton here.

CodePudding user response:

::-webkit-scrollbar {
      width: 15px; // scrollbar width
}
    
::-webkit-scrollbar-track {
 background: red; 
}
 
::-webkit-scrollbar-thumb {
  background: blue; 
}
  •  Tags:  
  • css
  • Related