I have been working on a project that involves custom scroll bar here is the code
.scrollbar
{
  margin-left: 30px;
  float: left;
  height: 300px;
  width: 65px;
  background: #F5F5F5;
  overflow-y: scroll;
  margin-bottom: 25px;
}
.force-overflow
{
  min-height: 450px;
}
#style-2::-webkit-scrollbar-track
{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  border-radius: 10px;
  background-color: #F5F5F5;
}
#style-2::-webkit-scrollbar
{
  width: 12px;
  background-color: #F5F5F5;
}
#style-2::-webkit-scrollbar-thumb
{
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  background-color: #D62929;
}<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<body id="main">
    <div class="scrollbar" id="style-2">
      <div class="force-overflow"></div>
    </div>
 </body>the problem is it is only working on chrome how can i make it work on every browser. i have searched all over the internet but still cannot fine any reliable solution.thanks in advance
 
     
     
    