<!DOCTYPE HTML> | |
<style> | |
::-webkit-scrollbar { | |
width: 12px; | |
height: 12px; | |
} | |
::-webkit-scrollbar-track { | |
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); | |
-webkit-border-radius: 10px; | |
border-radius: 10px; | |
} | |
::-webkit-scrollbar-thumb { | |
-webkit-border-radius: 10px; | |
border-radius: 10px; | |
background: rgba(255,0,0,0.8); | |
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); | |
} | |
html { | |
overflow: scroll; | |
} | |
body { | |
width: 1000px; | |
height: 1000px; | |
} | |
</style> |