monks/caption_side

The caption-side CSS property puts the content of a table’s {{HTMLElement(“caption”)}} on the specified side. The values are relative to the {{cssxref(“writing-mode”)}} of the table.

Values

pub const block_end: #(String, String)

block-end value of caption-side

pub const block_start: #(String, String)

block-start value of caption-side

pub const bottom: #(String, String)
  • : The caption box should be positioned at the block end side of the table.> [!NOTE]> The CSS logical properties and values module defines two logical values, inline-start and inline-end, to position the caption box at the inline start edge and inline end edge of the table, respectively. These values are not supported in any browsers.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const inline_end: #(String, String)

inline-end value of caption-side

pub const inline_start: #(String, String)

inline-start value of caption-side

pub fn raw(value: String) -> #(String, String)

Enter a raw string value for caption-side

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const top: #(String, String)
  • : The caption box should be positioned at the block start side of the table.
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

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

Search Document