Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

scroll design

div
{
 width: 30em;
    overflow-x: auto;
    white-space: nowrap;
 }

div::-webkit-scrollbar {
  width: 1em;
}

div::-webkit-scrollbar-track {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

div::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #00bd86;
  outline: 2px solid slategrey;
}

div::-webkit-scrollbar:vertical {
  display: none;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #scroll #design
ADD COMMENT
Topic
Name
2+8 =