Search
 
SCRIPT & CODE EXAMPLE
 

CSS

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 */
}
Comment

style scroll bar css


/* width */
::-webkit-scrollbar {
  width: 20px;
}
/* Track */
::-webkit-scrollbar-track {
  /* border-radius: 5px; */
}
/* Handle */
::-webkit-scrollbar-thumb {
  background:rgba(58, 114, 60, 1);
  /* border-radius: 5px 0 0 5px; */
  /* box-shadow: inset 5px -5px 5px rgba(58, 114, 60, 1); */
}
Comment

Css Custom Scrollbar

*::-webkit-scrollbar {width: 10px;background-color:#0b1120} 
*::-webkit-scrollbar-track {background-color:#e2e8f0} 
*::-webkit-scrollbar-thumb {border-radius: 1rem; background-color:#94a3b8}
Comment

custom scrollbar css

/* transparent scrollbar */
div::-webkit-scrollbar {
  width: 12px;
}

div::-webkit-scrollbar-thumb {
  border: 2px solid #ffffff2f;
  border-radius: 20px;
}
Comment

scrollbar css

<- modern css scrollbar css ->
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }
    ::-webkit-scrollbar-track {
    background: transparent; 
  }
    ::-webkit-scrollbar-thumb {
    background: #888; 
      border-radius:10px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #555; 
  } 
Comment

Css Custom Scrollbar


body::-webkit-scrollbar {
    @apply w-[10px] bg-[#0b1120];
}
body::-webkit-scrollbar-track {
    @apply bg-slate-200 dark:bg-[#0B1120];
}
body::-webkit-scrollbar-thumb {
    @apply rounded-xl bg-gray-600 dark:bg-slate-700;
}
Comment

style scrollbar

/* Chrome, safari */
*::-webkit-scrollbar {
	width: 8px;
}

*::-webkit-scrollbar-thumb {
	background-color: gray;
}

/* Firefox */
.selector {
		scrollbar-width: none;
	}
Comment

css custom scrollbar

::-webkit-scrollbar { } /* Entrie scrollbar*/
::-webkit-scrollbar-track { } /* Scrollbar track */
::-webkit-scrollbar-thumb { } /* Scrollbar handle */
Comment

custom scrollbar

  body::-webkit-scrollbar {
    width: 12px;
}
body::-webkit-scrollbar-thumb {
    background: #ff9c44;
    border-radius: 6px;
}

by moheen
Comment

scrollbar css

/* just so you can scroll */
html, body {
  margin: 0;
  padding: 500px;
}

/* actual styles */
body {
  overflow: overlay;
}

.div1 {
  background: grey;
  margin-top: 200px;
  margin-bottom: 20px;
  height: 20px;
}

::-webkit-scrollbar {
  width: 18px;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 200px;
  border: solid 4px transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-track {
  background: transparent;
}
Comment

scrollbar style

::-webkit-scrollbar addresses the background of the bar itself. It is usually covered by the other elements
::-webkit-scrollbar-button addresses the directional buttons on the scrollbar
::-webkit-scrollbar-track addresses the empty space “below” the progress bar
::-webkit-scrollbar-track-piece is the top-most layer of the the progress bar not covered by the draggable scrolling element (thumb)
::-webkit-scrollbar-thumb addresses the draggable scrolling element that resizes depending on the size of the scrollable element
::-webkit-scrollbar-corner addresses the (usually) bottom corner of the scrollable element, where two scrollbars might meet
::-webkit-resizer addresses the draggable resizing handle that appears above the scrollbar-corner at the bottom corner of some elements
Comment

PREVIOUS NEXT
Code Example
Css :: *+* css 
Css :: how to hide scrollbar in tailwind css 
Css :: css overflow-y not working 
Css :: how to increase text height css 
Css :: margin auto not centering 
Css :: import global variables scss angular 
Css :: fira code 
Css :: horizontal scroll only css mobile 
Css :: lynx install bash 
Css :: css absolute position inside div 
Css :: css set strong to normal text 
Css :: How do I make my background color darker in CSS 
Css :: html disabled button hover style 
Css :: how to validate mail adress css 
Css :: btn glow on hover 
Css :: clearfix 
Css :: italic in css 
Css :: npm registry package not found 
Css :: remove outline 
Css :: hr vertical en html 
Css :: move text in a padding css 
Css :: css clip 
Css :: @font-face 
Css :: input background color 
Css :: flex: 0 1 auto 
Css :: align text in block like in word css 
Css :: centralizing a table with css 
Css :: auto zoom image css 
Css :: zoom in to picture on html css 
Css :: css negative padding 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =