scroll-padding
The scroll-padding CSS property is shorthand for all of the scroll-padding-* longhands.
CSS
JS
object.style.scrollPadding = "value";
Values
<'scroll-padding'> = [ auto | <length-percentage> ]{1,4}
auto
Automatically specified by the user agent.
<length-percentage> = [ <length> | <percentage> ]
<length>
Specifies the length using a number followed by a unit of measurement.
<percentage>
Specifies the percentage using a number followed by a percent sign (%).
Initial
auto
length
percentage
JS
Internal
External