monks/scroll_padding_block

The scroll-padding-block shorthand property sets the scroll padding of an element in the block dimension.

Values

pub const auto_: #(String, String)
  • : The offset is determined by the user agent. This will generally be 0px, but a user agent is able to detect and do something else if a non-zero value is more appropriate.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn length(value: monks_of_style.Length) -> #(String, String)

length value of scroll-padding-block

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

Enter a raw string value for scroll-padding-block

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

Search Document