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

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

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 Scroll Bar CSS

::-webkit-scrollbar{
    width: 0.9vw;
    background: #777;
}
::-webkit-scrollbar-thumb{
    background: -webkit-linear-gradient(transparent,#30ff00);
    background: linear-gradient(transparent,#30ff00);
    border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover{
   background: -webkit-linear-gradient(transparent,#00c6ff);
   background: linear-gradient(transparent,#00c6ff); 
}
Comment

customize scroll bar CSS

  .Class::-webkit-scrollbar {
    width: 2px;
  }
  
  .Class::-webkit-scrollbar-track {
    border-radius: px;
    background: #c9cacc;
  }
  
  .Class::-webkit-scrollbar-track:hover {
    background: #78797a;
  }
  
  .Class::-webkit-scrollbar-thumb {
    background: #3d5585; 
    border-radius: 10px;
  }
  
  .scroll-bar::-webkit-scrollbar-thumb:hover {
    background: #01143b; 
  }
Comment

custom scrollbar

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

by moheen
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 :: text overflow ellipsis css 
Css :: css alternate row color 
Css :: css text vertical direction 
Css :: not disabled css 
Css :: AppDataRoaming pm eact-native.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. 
Css :: css flex center 
Css :: css gradient text 
Css :: swiper center slides but not first slide 
Css :: css odd even child 
Css :: move to right css 
Css :: square bullets css 
Css :: vertically center an svg 
Css :: css first 
Css :: css div fill whole page 
Css :: import fontawesome 
Css :: color code for pink 
Css :: how to allow scroll in div 
Css :: restrict a paragraph height css 
Css :: css box shadow right and down 
Css :: gatsby hide scrollbar 
Css :: css change image color 
Css :: remove bootstrap button outline 
Css :: background overlay css 
Css :: css blink 
Css :: install cors 
Css :: ipad specific media query 
Css :: minmax in grid 
Css :: css p tag text wrap 
Css :: how to make a div in top left in css 
Css :: duplicate box-shadow on element inner and outer 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =