cyb*_*cro 7 webkit google-chrome scrollbar
Chrome最近更新为(版本33.0.1750.117 m),我使用的是自定义滚动条,因为我讨厌那个白色滚动条.此更新发布,此代码不再影响此浏览器.
::-webkit-scrollbar {height: 12px!important;width: 12px!important;background: -webkit-linear-gradient(40deg , #000000 , #1e1e1e , #000000 100%)!important;}
::-webkit-scrollbar-thumb {background-color: #840000!important;border-radius: 16px!important;}
::-webkit-scrollbar-corner {background: #0000!important;}
任何人都知道他们做了什么,最重要的是如何重新开始工作.谢谢 :)
以下是在Google Chrome中恢复自定义CSS的解决方法:
CustomCss在该文件夹中,创建一个manifest.json使用以下内容调用的文件:
{
"name": "My Style Sheet",
"content_scripts": [
{
"matches": ["*://*/*"],
"css": ["Custom.css"]
}
],
"version": "1.0.0",
"description": "User StyleSheet replacement",
"manifest_version": 2
}
Run Code Online (Sandbox Code Playgroud)Custom.css从User StyleSheets文件夹中复制文件.资料来源:关于Chromium Issue 340072的第4号评论
我的chrome浏览器版本是34.0.1847.116 m。以下样式在我的 chrome 中仍然有效:
::-webkit-scrollbar {
width: 5px;
height: 5px;
background-color: rgba(255,255,255, 0);
-webkit-border-radius: 100px;
}
::-webkit-scrollbar:hover {
width: 7px;
}
::-webkit-scrollbar-thumb {
background: #FAE5F6;
-webkit-border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
background: #fabae1;
}
Run Code Online (Sandbox Code Playgroud)
检查一次...如果仍然不起作用,请升级 chrome 后尝试...
希望能帮助到你 :)
| 归档时间: |
|
| 查看次数: |
10482 次 |
| 最近记录: |