JSFiddle - React, Tailwind, and code Playground

by Yuval Bar-On

HTML

Scroll Bar Style Changing.
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>

CSS

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track  {
    -webkit-box-shadow: inset 0 0 6px #05B7FF; 
    -webkit-border-radius: 10px;
    background:#CBD5D7;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb  {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #05B7FF; 
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}
::-webkit-scrollbar-thumb:hover  {
    background: rgba(255,0,0,0.4); 
}
::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(255,0,0,0.4); 
}
HTML,BODY
 { color:black;
   scrollbar-face-color:#05B7FF;
   scrollbar-arrow-color:#05B7FF;
   scrollbar-track-color:#CBD5D7;
   scrollbar-shadow-color:#05B7FF;
   scrollbar-highlight-color:#05B7FF;
   scrollbar-3dlight-color:#808080;
   scrollbar-darkshadow-Color:#202020;
 }