MyBB Community Forums
Scrollbar - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Scrollbar (/thread-185784.html)



Scrollbar - isaac238 - 2015-10-28

I have this as a template

::-webkit-scrollbar {
    width: 12px;
}
 
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 10px;
}
 
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}

but how would i make the slidey thing green and the line behind it black also how would i make the slidey thing rectangular sorry about being dumb


RE: Scrollbar - SvePu - 2015-10-28

Please try this:
::-webkit-scrollbar {
    width: 15px;
}
 
::-webkit-scrollbar-track {
    background-color: #252525;
}
 
::-webkit-scrollbar-thumb {
    background-color: #2ecc71;
    border-width: 1px 0 1px 1px;
    border-color: #fff;
    border-style: dashed;
}