scroll-timeline-axis: value;
object.style.scrollTimelineAxis = "value";
<'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.