monks/scroll_snap_align
The scroll-snap-align property specifies the box’s snap position as an alignment of its snap area (as the {{glossary(“alignment subject”)}}) within its snap container’s snap port (as the {{glossary(“alignment container”)}}).
Values
pub const center: #(String, String)
- : The center alignment of this box’s scroll snap area, within the scroll container’s snapport is a snap position in this axis.
pub const end: #(String, String)
- : The end alignment of this box’s scroll snap area, within the scroll container’s snapport is a snap position in this axis.
pub fn raw(value: String) -> #(String, String)
Enter a raw string value for scroll-snap-align
pub const revert_layer: #(String, String)
pub const start: #(String, String)