Search
 
SCRIPT & CODE EXAMPLE
 

CSS

add padding to scrollbar

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

  ::-webkit-scrollbar-thumb {
    background: red;
    border-right: 13px white solid;
    background-clip: padding-box;
  }
Comment

PREVIOUS NEXT
Code Example
Css :: how to manage overflowing text in button 
Css :: center a spinner css 
Css :: convert image in rounshape in css 
Css :: scroll bottom css 
Css :: max z-index value css 
Css :: background image and position css 
Css :: overflow scrollbar with variable height 
Css :: td wrap text without space 
Css :: css grid repeat 
Css :: video camera icon font awesome 
Css :: table font size 
Css :: import font css 
Css :: how to set text in center in flex item 
Css :: how to remove bullets from li 
Css :: how to scale a bg image acc to size of div 
Css :: font condensed 
Css :: css keep div at bottom of screen when scrolling 
Css :: hover border bottom css fixed 
Css :: how to center a div element 
Css :: select dropdown icon change 
Css :: how to remove gap between divs 
Css :: transition shorthand 
Css :: decrease div size 
Css :: hide scroll bar but still be scrollable. 
Css :: how to underline text in css 
Css :: div inline grid 100% width 
Css :: space-evenly vs space-around 
Css :: css outline width 
Css :: redirect link after clicking on a button html css 
Css :: How to use css on a react icon 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =