I want to load this piece of CSS only in windows.
/* total width */
*::-webkit-scrollbar {
background-color:#fff;
width:6px
}
/* background of the scrollbar except button or resizer */
*::-webkit-scrollbar-track {
background-color:#fff
}
*::-webkit-scrollbar-track:hover {
background-color:#f4f4f4
}
/* scrollbar itself */
*::-webkit-scrollbar-thumb {
background-color:#babac0;
border-radius:16px;
/* border:1px solid #f4f4f4 */
}
*::-webkit-scrollbar-thumb:hover {
background-color:#a0a0a5;
/* border:1px solid #f4f4f4 */
}
/* set button(top and bottom of the scrollbar) */
*::-webkit-scrollbar-button {display:none}
It is for a custom scroll bar and on mac the scroll bar is fine the way it is.
I need this to work in every browser in windows.
Is there a way to load a css file containing that piece of css code if the OS is Windows?