Xevia HomeBlogNewsAbout

How to hide Google Chrome scrollbars

Lire la version fran├žaise

Scrollbars can be really annoying, particularly when the browser is switched in full-screen mode. Here's a CSS trick to get rid of them.

Open the file %LOCALAPPDATA%\Google\Chrome\User Data\Default\User Stylesheets\Custom.css

Insert the following code

CSS
::-webkit-scrollbar {
height: 10px;
width: 10px;
background-color: #999999;
}
 
html > ::-webkit-scrollbar {
width: 0px;
}
 
::-webkit-scrollbar-thumb {
background: #999999;
}
 
::-webkit-scrollbar-track-piece {
background-color: #797979;
}

Scrollbars should then disappear.

Scrollbarless BrowserGoogle Chrome looks way better without its scrollbars.

Custom Horizontal ScrollbarA customized horizontal scrollbar.