monks/scroll_snap_stop

The scroll-snap-stop CSS property defines whether or not the scroll container is allowed to “pass over” possible snap positions.

Values

pub const always: #(String, String)
  • : The scroll container must not “pass over” a possible snap position; and must snap to the first of this elements’ snap positions.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const normal: #(String, String)
  • : When the visual {{Glossary(“viewport”)}} of this element’s scroll container is scrolled, it may “pass over” possible snap positions.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for scroll-snap-stop

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-snap-stop. It will be wrapped in var() and have -- prepended.

Search Document