Answers for "scroll bar in html css"

37

custom scrollbar

body::-webkit-scrollbar {
  width: 12px;               /* width of the entire scrollbar */
}
body::-webkit-scrollbar-track {
  background: orange;        /* color of the tracking area */
}
body::-webkit-scrollbar-thumb {
  background-color: blue;    /* color of the scroll thumb */
  border-radius: 20px;       /* roundness of the scroll thumb */
  border: 3px solid orange;  /* creates padding around scroll thumb */
}
Posted by: Guest on June-19-2020
1

scrollbar in html div

overflow in html
Posted by: Guest on March-06-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language