miyounhive

hidden scrollbar

Nov 13th, 2021 (edited)
861
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. <!--- put this into a separate embed! --->
  2.  
  3. <style>
  4. html {
  5. overflow: scroll;
  6. overflow-x: hidden;
  7. }
  8. ::-webkit-scrollbar {
  9. width: 0; /* Remove scrollbar space */
  10. background: transparent; /* Optional: just make scrollbar invisible */
  11. }
  12. /* Optional: show position indicator in red */
  13. ::-webkit-scrollbar-thumb {
  14. background: #FF0000;
  15. }
  16. </style>
Add Comment
Please, Sign In to add comment