data-type

<axis> — CSS reference

Scroll and view timelines accept block, inline, x or y axes. Logical axes follow writing mode; physical x and y do not.

Formal Syntax & Structure

css syntaxcss
scroll-timeline-axis: inline;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>&lt;axis&gt;</title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{scroll-timeline-axis:inline}</style><body><div id="a">Example</div></body></html>
CSS Reference