monks/outline_width

The CSS outline-width property sets the thickness of an element’s outline. An outline is a line that is drawn around an element, outside the {{cssxref(“border”)}}.

Values

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn length(value: monks_of_style.Length) -> #(String, String)

length value of outline-width

pub const medium: #(String, String)
  • : Depends on the user agent. Typically equivalent to 3px in desktop browsers (including Firefox).
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for outline-width

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const thick: #(String, String)
  • : Depends on the user agent. Typically equivalent to 5px in desktop browsers (including Firefox).
pub const thin: #(String, String)
  • : Depends on the user agent. Typically equivalent to 1px in desktop browsers (including Firefox).
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for outline-width. It will be wrapped in var() and have -- prepended.

Search Document