monks/empty_cells

The empty-cells CSS property sets whether borders and backgrounds appear around {{htmlelement(“table”)}} cells that have no visible content.

This property has an effect only when the {{cssxref(“border-collapse”)}} property is separate.

Values

pub const hide: #(String, String)
  • : No borders or backgrounds are drawn.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for empty-cells

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const show: #(String, String)
  • : Borders and backgrounds are drawn like in normal cells.
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

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

Search Document