I'm trying to create a scroll bar that only appears when hovered over, similar to how it works on Facebook where the scroll bar shows up slowly instead of all at once. I've tried using CSS transition delay, but it doesn't seem to be working properly.
.scrolldiv {
height: 100%;
margin-right: -10px;
overflow: hidden;
transition-delay: 1s; /* delays for 1 second */
-webkit-transition-delay: 1s; /* for Safari & Chrome */
}
.scrolldiv:hover {
overflow-y: auto;
}