I have created a page with custom scroll bars. When I applied the code, all the scroll bars in the body and those of the browser window reacted to the code. Yet what i wanted is to customize only scroll bars for the body not those of the window.
How can i change this? Many thanks. Here is the webkit code.
::-webkit-scrollbar .right { width: 7px; } /* Track */ ::-webkit-scrollbar-track .right{ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); -webkit-border-radius: 10px; border-radius: 10px; } /* Handle */ ::-webkit-scrollbar-thumb .right{ -webkit-border-radius: 10px; border-radius: 10px; /*background: rgba(255,0,0,0.8); */ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); } ::-webkit-scrollbar-thumb:hover { background-color:#028eff; }