monks/list_style_position

The list-style-position CSS property sets the position of the {{cssxref(“::marker”)}} relative to a list item.

Values

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const inside: #(String, String)
  • : The {{cssxref(“::marker”)}} is the first element among the list item’s contents.
pub const outside: #(String, String)
  • : The {{cssxref(“::marker”)}} is outside the principal block box. This is the default value for {{cssxref(“list-style”)}}.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for list-style-position

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

Search Document