monks/scroll_timeline

The scroll-timeline CSS shorthand property is used to define a named scroll progress timeline, which is progressed through by scrolling a scrollable element (scroller) between top and bottom (or left and right).

Values

pub const block: #(String, String)

block value of scroll-timeline

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const inline: #(String, String)

inline value of scroll-timeline

pub const none: #(String, String)

none value of scroll-timeline

pub fn raw(value: String) -> #(String, String)

Enter a raw string value for scroll-timeline

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for scroll-timeline. It will be wrapped in var() and have -- prepended.

pub const x: #(String, String)

x value of scroll-timeline

pub const y: #(String, String)

y value of scroll-timeline

Search Document