-
Thank you for this amazing scrollbar! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Call |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
If you meant the appearance, try the following css: @keyframes fadeOut {
0%, 90% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.scrollbar-track {
animation: fadeOut 3s;
} |
Beta Was this translation helpful? Give feedback.
-
No, i do not mean appearance. I mean something like when you move mouse over the element, scrollbar is show and after a while it will disappear. Then when you use mouse scroll, scrollbar show again. |
Beta Was this translation helpful? Give feedback.
-
Try: @keyframes fade-out {
0%, 90% {
opacity: 1;
}
100% {
opacity: 0;
}
}
[data-scrollbar]:hover .scrollbar-track {
animation: fade-out 3s;
}
.scrollbar-track.show {
animation: none !important;
} |
Beta Was this translation helpful? Give feedback.
-
Thank for you help! |
Beta Was this translation helpful? Give feedback.
Thank for you help!
Now I finally managed to implement your scrollbar with dropdown elements in materializecss library. Now user sees that the content is scrollable after element is open.
Not fully, but it is on good way ;)
https://jsbin.com/muyohifequ/1/edit?output