Menu Home

scroll-margin-block-start

osbo.com | CSS | Properties | scroll-margin-block-start

The scroll-margin-block-start CSS property specifies the block-start edge of the scroll snap area.

Syntax

CSS

scroll-margin-block-start: value;

JS

object.style.scrollMarginBlockStart = "value";

Values

<'scroll-margin-block-start'> = <length>
<length>

Specifies the length using a number followed by a unit of measurement.

Initial

0

Examples

length

JS

Internal

scroll-margin

scroll-margin-block

scroll-margin-block-end

scroll-margin-bottom

scroll-margin-inline

scroll-margin-inline-end

scroll-margin-inline-start

scroll-margin-left

scroll-margin-right

scroll-margin-top

External

World Wide Web Consortium (W3C)