Answers for "padding when scroll"

CSS
3

add padding to scrollbar

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

  ::-webkit-scrollbar-thumb {
    background: red;
    border-right: 13px white solid;
    background-clip: padding-box;
  }
Posted by: Guest on December-17-2020
0

scroll padding top in css

/* Keyword values */
scroll-padding-top: auto;

/* <length> values */
scroll-padding-top: 10px;
scroll-padding-top: 1em;
scroll-padding-top: 10%;

/* Global values */
scroll-padding-top: inherit;
scroll-padding-top: initial;
scroll-padding-top: revert;
scroll-padding-top: unset;
Posted by: Guest on March-21-2022

Browse Popular Code Answers by Language