HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

scroll-timeline

Description

The scroll-timeline property for CSS shorthand for scroll-timeline-name and scroll-timeline-axis.

Syntax

CSS

scroll-timeline: value;

JS

object.style.scrollTimeline = "value";

Values

<'scroll-timeline'> = [ <'scroll-timeline-name'> <'scroll-timeline-axis'>? ]#
<'scroll-timeline-name'> = none | <custom-ident>#
none

The scroll container does not have a name.

<custom-ident>

Specifies any valid identifier that is not misinterpreted as a keyword.

<'scroll-timeline-axis'> = [ block | inline | vertical | horizontal ]#
block

Specifies to use the measure of progress along the block axis of the scroll container.

inline

Specifies to use the measure of progress along the inline axis of the scroll container.

vertical

Specifies to use the measure of progress along the vertical axis of the scroll container.

horizontal

Specifies to use the measure of progress along the horizontal axis of the scroll container.

Examples

1 · scroll-timeline-name · none

2 · scroll-timeline-name · custom-ident

3 · scroll-timeline-name · JS

4 · scroll-timeline-axis · block

5 · scroll-timeline-axis · inline

6 · scroll-timeline-axis · vertical

7 · scroll-timeline-axis · horizontal

8 · scroll-timeline-axis · JS