Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

how to make scroller show only on hover of container

.scrollbox {
  width: 100px;
  height: 100px;
  overflow: auto;
  visibility: hidden;
}

.scrollbox-content,
.scrollbox:hover,
.scrollbox:focus {
  visibility: visible;
}

.scrollbox_delayed {
  transition: visibility 0.2s;
}

.scrollbox_delayed:hover {
  transition: visibility 0s 0.2s;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #scroller #show #hover #container
ADD COMMENT
Topic
Name
6+6 =