edit scrollbar css
CSS
/* Answer to: "custom scrollbar css" */
#yourContainer::-webkit-scrollbar {
width: 12.34px;
/* You can add other properties & values */
}
#yourContainer::-webkit-scrollbar-track {
background-color: #123456;
/* You can add other properties & values */
}
#yourContainer::-webkit-scrollbar-thumb {
background: #123456;
outline: 1px solid #654321;
/* You can add other properties & values */
}
/* To customize the default scrollbar, just do this: */
::-webkit-scrollbar { /* blah blah blah */ }
/* Notice how there's no selector ^^ */
/* Other things to note: */
::-webkit-scrollbar { /* 1 */ }
::-webkit-scrollbar-button { /* 2 */ }
::-webkit-scrollbar-track { /* 3 */ }
::-webkit-scrollbar-track-piece { /* 4 */ }
::-webkit-scrollbar-thumb { /* 5 */ }
::-webkit-scrollbar-corner { /* 6 */ }
::-webkit-resizer { /* 7 */ }
/* Different States */
:horizontal
:vertical
:decrement
:increment
:start
:end
:double-button
:single-button
:no-button
:corner-present
:window-inactive/* The emerging W3C standard
that is currently Firefox-only */
* {
scrollbar-width: thin;
scrollbar-color: blue orange;
}
/* Works on Chrome/Edge/Safari */
*::-webkit-scrollbar {
width: 12px;
}
*::-webkit-scrollbar-track {
background: orange;
}
*::-webkit-scrollbar-thumb {
background-color: blue;
border-radius: 20px;
border: 3px solid orange;
}
::-webkit-scrollbar { /* 1 */ }
::-webkit-scrollbar-button { /* 2 */ }
::-webkit-scrollbar-track { /* 3 */ }
::-webkit-scrollbar-track-piece { /* 4 */ }
::-webkit-scrollbar-thumb { /* 5 */ }
::-webkit-scrollbar-corner { /* 6 */ }
::-webkit-resizer { /* 7 */ }
/* Different States */
:horizontal
:vertical
:decrement
:increment
:start
:end
:double-button
:single-button
:no-button
:corner-present
:window-inactive
/* All toghether example */
::-webkit-scrollbar-track-piece:start {
/* Select the top half (or left half) or scrollbar track individually */
}
::-webkit-scrollbar-thumb:window-inactive {
/* Select the thumb when the browser window isn't in focus */
}
::-webkit-scrollbar-button:horizontal:decrement:hover {
/* Select the down or left scroll button when it's being hovered by the mouse */
}
/* Example */
body::-webkit-scrollbar {
width: 1em;
}
body::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
body::-webkit-scrollbar-thumb {
background-color: darkgrey;
outline: 1px solid slategrey;
} /* width */
::-webkit-scrollbar {
width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
background: #f1f1f1;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #888;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #555;
} /* width */
*::-webkit-scrollbar {
width: 10px;
}
/* Track */
*::-webkit-scrollbar-track {
background: #f1f1f1;
}
/* Handle */
*::-webkit-scrollbar-thumb {
background: #888;
}
/* Handle on hover */
*::-webkit-scrollbar-thumb:hover {
background: #555;
}
Also in CSS:
- Title
- custom scrollbar css
- Category
- CSS
- Title
- striped tables css
- Category
- CSS
- Title
- css hover
- Category
- CSS
- Title
- uibutton image
- Category
- CSS
- Title
- css :focus
- Category
- CSS
- Title
- overlay in css
- Category
- CSS
- Title
- css italics
- Category
- CSS
- Title
- javascript modify css
- Category
- CSS
- Title
- how to cover full image in css
- Category
- CSS
- Title
- how to remove link blue color from a tag using css
- Category
- CSS
- Title
- how to align elements horizontally in css
- Category
- CSS
- Title
- line-height not working
- Category
- CSS
- Title
- css hero image
- Category
- CSS
- Title
- transition prefixes css
- Category
- CSS
- Title
- overflow dottet
- Category
- CSS
- Title
- nth-child(2n+1)
- Category
- CSS
- Title
- width defined by content css
- Category
- CSS
- Title
- fontawesome cdn
- Category
- CSS
- Title
- css doesnt update
- Category
- CSS
- Title
- css animations examples
- Category
- CSS
- Title
- not last child css
- Category
- CSS
- Title
- adjacent sibling selector
- Category
- CSS
- Title
- javascript alternative to jquery css
- Category
- CSS
- Title
- font-style css
- Category
- CSS
- Title
- background image in css is not working
- Category
- CSS
- Title
- breakline css
- Category
- CSS
- Title
- css border radius
- Category
- CSS
- Title
- horizontal list css
- Category
- CSS
- Title
- how to center placeholdr text
- Category
- CSS
- Title
- css quitar el icono de lista
- Category
- CSS
- Title
- how to space out buttons css
- Category
- CSS
- Title
- css sticky header with nav bar
- Category
- CSS
- Title
- how long ago was 1993 years
- Category
- CSS
- Title
- vue import css
- Category
- CSS
- Title
- how to change height font css
- Category
- CSS
- Title
- media query for mobile view css
- Category
- CSS
- Title
- scss transition
- Category
- CSS
- Title
- how to make a text at the top of page in css
- Category
- CSS
- Title
- image blur css
- Category
- CSS
- Title
- zoom css
- Category
- CSS
- Title
- css selectors w3schools
- Category
- CSS
- Title
- css hover rounded corners
- Category
- CSS
- Title
- animate css
- Category
- CSS
- Title
- static css in django
- Category
- CSS
- Title
- html font size
- Category
- CSS
- Title
- diable focus button css
- Category
- CSS
- Title
- materialize css
- Category
- CSS
- Title
- how to write css for input type text
- Category
- CSS
- Title
- how to make input in angular optional
- Category
- CSS
- Title
- jquery remove css style
- Category
- CSS
- Title
- flexbox grid
- Category
- CSS
- Title
- how do i move the numbers of an ordered list centered with css
- Category
- CSS
- Title
- make buttons round css
- Category
- CSS
- Title
- css top bottom left right order
- Category
- CSS
- Title
- mettre image in the background
- Category
- CSS
- Title
- como trocar ordem dos elementos pelo dispositivo html
- Category
- CSS
- Title
- css animated background
- Category
- CSS
- Title
- typescript not supporting scss
- Category
- CSS
- Title
- E/ViewRootImpl: sendUserActionEvent() mView returned.
- Category
- CSS
- Title
- how to scroll fixed position
- Category
- CSS
- Title
- on hover chang only border color of a button css
- Category
- CSS
- Title
- Scaling Images and Videos css
- Category
- CSS
- Title
- adjecent sibling selectors
- Category
- CSS
- Title
- center div horizontally and vertically
- Category
- CSS
- Title
- jquery element css
- Category
- CSS
- Title
- w3 link css
- Category
- CSS
- Title
- carousel inner item populate with for loop puting active class on all carousel item
- Category
- CSS
- Title
- css affect all child elements
- Category
- CSS
- Title
- hand property css
- Category
- CSS
- Title
- position sticky css
- Category
- CSS
- Title
- three dots in css
- Category
- CSS
- Title
- loading screen svg and css animation
- Category
- CSS
- Title
- css anchor fill parent
- Category
- CSS
- Title
- how to apply a transition to a child element when hovering over parent element
- Category
- CSS
- Title
- responsive text css
- Category
- CSS
- Title
- font-family css
- Category
- CSS
- Title
- rotate image horizontally css
- Category
- CSS
- Title
- hr css mdn
- Category
- CSS
- Title
- css focus change color
- Category
- CSS
- Title
- crop image css
- Category
- CSS
- Title
- box model css
- Category
- CSS
- Title
- how to use a blank space with grid template areas css
- Category
- CSS
- Title
- background color css rgb
- Category
- CSS
- Title
- a no line css
- Category
- CSS
- Title
- css gradient
- Category
- CSS
- Title
- how to change the bullet points in css
- Category
- CSS
- Title
- align center css
- Category
- CSS
- Title
- css media query
- Category
- CSS
- Title
- materialize customize container
- Category
- CSS
- Title
- how to make borders rounded in css
- Category
- CSS
- Title
- remove border radius select css
- Category
- CSS
- Title
- how to bold in css
- Category
- CSS
- Title
- box shadow
- Category
- CSS
- Title
- css rotate3d euler angles
- Category
- CSS
- Title
- css underline color
- Category
- CSS
- Title
- clear postgres terminal
- Category
- CSS
- Title
- underline text using css
- Category
- CSS
- Title
- center div in middle of page
- Category
- CSS
- Title
- responsive css grid
- Category
- CSS
- Title
- how to link fonts css
- Category
- CSS