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 scrollbar

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

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

/* Firefox */
.selector {
		scrollbar-width: none;
	}
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 :: css properties 
Css :: react use global css classes 
Css :: bulma lowercase 
Css :: css grid cheat sheet 
Css :: grid all items same height 
Css :: add logo html css 
Css :: what is the difference between relative and absolute css 
Css :: account system php html 
Css :: label for centered image 
Css :: arriviste 
Css :: text cow 
Css :: daphne vs gunicorn 
Css :: css background cover y axis 
Css :: ffmpeg add text with positions relative to video & text dimensions 
Css :: css remove button outline 
Css :: css space inter words 
Css :: i tag in html , <i tag in html 
Css :: css background image is not show change default picture 
Css :: ul change position when restore down 
Css :: how to solve your coading bugs 
Css :: How to write something inside image 
Css :: More examples and patterns in scrapy 
Css :: bootstrap quebra de linha na tabela 
Css :: Create 2 separate CSS rules for the code below: 
Css :: #shadow-root (open) css 
Css :: Pass argument to group_by 
Css :: if css 
Css :: Drupal 8 Notice: Trying to get property 
Css :: alternative for lodash omit in javascript 
Css :: rainvow hover css 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =