|
发表于 2020-12-10 20:17:57
|
显示全部楼层
本帖最后由 coult3 于 2020-12-11 18:18 编辑
方法有二:
1. 安装stylus 扩展,管理样式,编写新样式,默认应用到所有页面,添加以下代码。
2. 利用cent的custom.css功能。
在 User Data 文件夹下新建 custom.css 文件,添加以下代码。
::-webkit-scrollbar {
width: 9px !important;
height: 9px !important;
}
::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
height: 0; width: 0;
display:none;
}
::-webkit-scrollbar-track-piece{
margin:1px; padding: 0;
width: 6px !important;
height: 5px !important;
background: rgba(255,255,255,.3);
}
::-webkit-scrollbar:hover{
background: rgba(128,128,128,.2);
}
::-webkit-scrollbar-thumb{
margin: 1px !important;
border: 2px solid transparent !important;
width: 1px !important;
background-color: rgba(0,0,0,.4) !important;
z-index: 2147483647;
-webkit-border-radius: 12px;
background-clip: content-box;
}
::-webkit-scrollbar-corner {
background: rgba(255,255,255,.3);
border: 1px solid transparent;
}
::-webkit-scrollbar-thumb:hover{
background-color: rgba(0,0,0,.8) !important;
}
::-webkit-scrollbar-thumb:active {
background-color: rgba(0,0,0,.6) !important;
}
参考:
用centbrowser(不用chrome原版)的一个好处,支持:Custom.css
https://www.centbrowser.net/zh-c ... id=7704&fromuid=658
(出处: 百分浏览器论坛)
|
|