shot of post - πŸ’­ How To Create a Custom Scrollbar

Here's my thought on πŸ’­ How To Create a Custom Scrollbar


Default scrollbars on a dark theme website are just the ugliest thing. This page covers all the pseudo selectors needed to style the scrollbar.

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */ ::-webkit-scrollbar-track { background: #f1f1f1; }

/* Handle */ ::-webkit-scrollbar-thumb { background: #888; }

/* Handle on hover */ ::-webkit-scrollbar-thumb:hover { background: #555; }


!!! note This post is a thought. It's a short note that I make about someone else's content online. Learn more about the process [[ thoughts ]]

{.text-opacity-80} This post was a thought by Waylon Walker see all my thoughts at https://waylonwalker.com/thoughts