📅  最后修改于: 2022-03-11 14:47:57.203000             🧑  作者: Mango
html {
scrollbar-color: var(--main-color, #c1c1c1) rgba(0, 0, 0, 0) !important;
scrollbar-width: thin !important;
}
html:not([hide-scrollbar]) ::-webkit-scrollbar-thumb {
background: var(--main-color, #c1c1c1) !important;
}
html:not([hide-scrollbar]) ::-webkit-scrollbar {
width: 8px !important;
}
::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0) !important;
}
::-webkit-scrollbar-thumb {
background: var(--main-color, #c1c1c1) !important;
}