当前位置:网站首页>设置浏览器滚动条样式
设置浏览器滚动条样式
2022-07-31 00:59:00 【I'm a little coder】
::-webkit-scrollbar {
width: 14px;
height: 14px;
}
::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb {
border-radius: 999px;
border: 5px solid transparent;
}
::-webkit-scrollbar-track {
box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2) inset;
}
::-webkit-scrollbar-thumb {
min-height: 20px;
background-clip: content-box;
box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.2) inset;
}
::-webkit-scrollbar-corner {
background: transparent;
}
边栏推荐
猜你喜欢
随机推荐
(5) fastai application
Xiaohei's leetcode journey: 117. Fill the next right node pointer of each node II
Mysql systemized JOIN operation example analysis
Unity2D horizontal version game tutorial 4 - item collection and physical materials
VS warning LNK4099: No solution found for PDB
24. Please talk about the advantages and disadvantages of the singleton pattern, precautions, usage scenarios
typescript16-void
ShardingSphere's vertical sub-database sub-table actual combat (5)
解析云原生消息流系统 Apache Pulsar 能力及场景
typescript17 - function optional parameters
35. 反转链表
typescript13 - type aliases
XSS related knowledge
一万了解 Gateway 知识点
【Multithreading】
剑指offer17---打印从1到最大的n位数
蓝牙mesh系统开发二 mesh节点开发
[C language course design] C language campus card management system
MySQL Series 1: Account Management and Engine
822. Walk the Grid