I have used the following CSS code (from SO) to display scroll bar in safari (mobile view).
.myScroll {
display: inline-block;
height: 100px;
overflow-y: scroll;
}
::-webkit-scrollbar {
-webkit-appearance: none;
width: 8px;
}
::-webkit-scrollbar-track {
background-color: rgba(240,240,240, .6);
border-radius: 8px;
}
::-webkit-scrollbar-thumb {
border-radius: 8px;
background-color: rgba(156, 156, 156, .6);
}
::-webkit-scrollbar{
-webkit-appearance: initial;
}
Now I want to see the default scroll bar in desktop view. What should I add to my desktop CSS code?
P.S. I'm not supposed to use media queries in CSS. I already have different CSS files for different resolutions.