Streaming live at 10am (PST)

Custom Scrollbar


#1

Hi there,

So I am struggling with an issue and was wondering if anyone could help.

I am trying to create a custom scrollbar using the code below:

<style>

::-webkit-scrollbar {
    width: 12px;
    background-color: white;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

</style>

And I get this result:

Compared to this without the text:

What I want is to have a transparent scrollbar track with a white scrollbar, rectangular with no rounded corners which is 15 px high.

Any thanks would be greatly appreciated.

Arthur


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.