Menu Riverview Church

SCROLL-MARGIN-TOP

The scroll-margin-top property specifies the top edge of the scroll snap area.

SYNTAX

CSS

scroll-margin-top: value;

JS

object.style.scrollMarginTop = "value";

VALUES

<'scroll-margin-top'> = <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-block-start

scroll-margin-bottom

scroll-margin-inline

scroll-margin-inline-end

scroll-margin-inline-start

scroll-margin-left

scroll-margin-right

EXTERNAL

World Wide Web Consortium (W3C)