html { ::-webkit-scrollbar { width: 5px !important; height: 5px !important; } ::-webkit-scrollbar-corner, ::-webkit-scrollbar-track { background: transparent !important; } ::-webkit-resizer, ::-webkit-scrollbar-thumb { background: #aaa; border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: #888; } &, * { scrollbar-color: #aaa transparent; scrollbar-width: thin !important; } }