monks/scroll_margin_top
The scroll-margin-top property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets.
Values
pub fn length(value: monks_of_style.Length) -> #(String, String)
length value of scroll-margin-top
pub fn raw(value: String) -> #(String, String)
Enter a raw string value for scroll-margin-top
pub const revert_layer: #(String, String)