monks/border_collapse

The border-collapse CSS property sets whether cells inside a {{htmlElement(“table”)}} have shared or separate borders.

When cells are collapsed, the {{cssxref(“border-style”)}} value of inset behaves like ridge, and outset behaves like groove.

When cells are separated, the distance between cells is defined by the {{cssxref(“border-spacing”)}} property.

Values

pub const collapse: #(String, String)
  • : Adjacent cells have shared borders (the collapsed-border table rendering model).
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for border-collapse

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const separate: #(String, String)
  • : Adjacent cells have distinct borders (the separated-border table rendering model).
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

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

Search Document