About CSS滚动条生成器
使用CSS创建自定义滚动条样式
Use this free online css生成器 tool to work faster without installing extra software. The interface is built for quick input, clear output, and straightforward results on desktop and mobile devices.
使用CSS创建自定义滚动条样式
Target Browser
Note: WebKit styles work in Chrome, Edge, Safari. Firefox uses standard CSS properties.
Dimensions
Colors
Options
Preview
CSS
/* WebKit Scrollbar (Chrome, Safari, Edge) */
.custom-scrollbar::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #888888;
border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: #555555;
}
.custom-scrollbar::-webkit-scrollbar-button {
display: none;
}
/* Firefox Scrollbar */
.custom-scrollbar {
scrollbar-width: thin;
scrollbar-color: #888888 #f1f1f1;
}Presets
使用CSS创建自定义滚动条样式
Use this free online css生成器 tool to work faster without installing extra software. The interface is built for quick input, clear output, and straightforward results on desktop and mobile devices.
This tool runs in your browser whenever possible, which keeps your inputs private and reduces unnecessary round-trips to the server.