CSS scroll-margin-bottom property

Description

CSS scroll-margin-bottom property specifies the margin at the bottom side of the scroll item.

Please move the scrollbar to see the effect of margin.

Syntax

scroll-margin-bottom :+ve length

Property values

+ve length Default

There is no margin on the bottom side of the scroll item.

scroll-margin-bottom: 0px;

+ve length

It specifies the bottom edge margin of the scroll item.

In the demo, there is 100px margin at the bottom edge of the scroll item.

scroll-margin-bottom: 100px;

Applicable to

It applies to scroll containers.

#CSS digger
Was this article helpful?

 
Page 1
Page 2
Page 3
Page 4
Page 5
Page 6
×

Ctrl+D