CSS HTML CODE Transparent Scroll Bars WIth Images

Hey Everyone!

Here's a code for your scroll bars to make them transparent with an image as the handle.Β 
πŸ’₯LIKE DISPLAYED IN THIS BLOGπŸ’₯
All this is fully Customizable to your liking follow Instructions below to make it easier =]

Change the "Transparent" in the "Background: HERE;" to any colour that you would like or add an image to it by simply placing this code blow underneath {Β  Β Β Example To Help You OutΒ  πŸ‘‡πŸ»





BOX 1; EXAMPLE



EXAMPLE


/* Track */
::-webkit-scrollbar-track {
background: transparent;
border-radius: 10px;

}




/* Track */
::-webkit-scrollbar-track {
background-image: url('IMAGE URL GOES HERE');
background-size: cover;
background-position: center;
background: ;
border: 0px;
border-radius: 10px;
}



BOX 2; CODE TO ADD IMAGES TO MODUELS

background-image: url('IMAGE URL GOES HERE');
background-size: cover;
background-position: center;
background: ;
border: 0px;
border-radius: 10px;
}


BOX 3; TRANSPARENT SCROLL BAR CODE WITH IMAGE AS HANDLE


<style>
body {
overflow: overlay;
}

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

/* Track */
::-webkit-scrollbar-track {
background: transparent;
border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
background-image: url('IMAGE URL GOES HERE');
background-size: cover;
background-position: center;
background: ;
border: 0px;
border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: transparent;
}
</style>

Korb-Kun Na KrabpπŸ™πŸ»β€
hope this helps you out guys. if you have any questions feel free to message me πŸ˜Šβ€πŸ™πŸ» Upside Down or Petrine Cross


7 Kudos

Comments

Displaying 0 of 0 comments ( View all | Add Comment )