Ionic 4, Scroll BAR Style

Is it possible to style or hide this bar?
this won’t work…

::-webkit-scrollbar-track {
    --background: var(--ion-color-pretoMenu) !important;
 }
 ::-webkit-scrollbar {
    display: none;
 }
 ::-webkit-scrollbar-thumb {
    --background: var(--ion-color-pretoMenu) !important;
 }

Hi, you did not specify which class/element your webkit-scrollbar is in
but this might be a solution

My scrollbar was successfully hidden using this (CSS file):

.Container {
    // Your styles
}
.Container::-webkit-scrollbar {
    display: none;
}