scroll-margin-right

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

Syntax

CSS

scroll-margin-right: value;

JS

object.style.scrollMarginRight = "value";

Values

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

External

World Wide Web Consortium (W3C)

Home Menu