monks/outline_style

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

Values

pub const auto_: #(String, String)
  • : Permits the user agent to render a custom outline style.
pub const dashed: #(String, String)
  • : The outline is a series of short line segments.
pub const dotted: #(String, String)
  • : The outline is a series of dots.
pub const double: #(String, String)
  • : The outline is two single lines. The {{cssxref(“outline-width”)}} is the sum of the two lines and the space between them.
pub const groove: #(String, String)
  • : The outline looks as though it were carved into the page.
pub const hidden: #(String, String)

hidden value of outline-style

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const inset: #(String, String)
  • : The outline makes the box look as though it were embedded in the page.
pub const none: #(String, String)
  • : No outline is used. The {{cssxref(“outline-width”)}} is 0.
pub const outset: #(String, String)
  • : The opposite of inset: the outline makes the box look as though it were coming out of the page.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for outline-style

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const ridge: #(String, String)
  • : The opposite of groove: the outline looks as though it were extruded from the page.
pub const solid: #(String, String)
  • : The outline is a single line.
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

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

Search Document