CSS scroll-padding-bottom property
Browser support · legacy reference
ChromeFully supports
SafariFully supports
FirefoxNot supported
Internet ExplorerNot supported
EdgeNot supported
OperaNot supported
CSS scroll-padding-bottom property specifies the padding at the bottom side of scroll container.
Please move the scrollbar to see the effect of padding.
Syntax
scroll-padding-bottom :+ve length
Property values
+ve length Default
-
There is no padding at the bottom edge of the scroll container.
- Try it
scroll-padding-bottom: 0px; +ve length
-
It specifies the bottom edge padding of the scroll container.
In the demo, there is 100px padding at the bottom edge of the scroll container.
- Try it
scroll-padding-bottom: 100px;
Applicable to
It applies to scroll containers.