monks/display

The display CSS property sets whether an element is treated as a block or inline box and the layout used for its children, such as flow layout, grid or flex.

Formally, the display property sets an element’s inner and outer display types. The outer type sets an element’s participation in flow layout; the inner type sets the layout of children. Some values of display are fully defined in their own individual specifications; for example the detail of what happens when display: flex is declared is defined in the CSS Flexible Box Model specification.

Values

pub const block: #(String, String)

block value of display

pub const contents: #(String, String)

contents value of display

pub const flex: #(String, String)

flex value of display

pub const flow: #(String, String)

flow value of display

pub const flow_root: #(String, String)

flow-root value of display

pub const grid: #(String, String)

grid value of display

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const inline: #(String, String)

inline value of display

pub const inline_block: #(String, String)

inline-block value of display

pub const inline_flex: #(String, String)

inline-flex value of display

pub const inline_grid: #(String, String)

inline-grid value of display

pub const inline_list_item: #(String, String)

inline-list-item value of display

pub const inline_table: #(String, String)

inline-table value of display

pub const list_item: #(String, String)

list-item value of display

pub const none: #(String, String)

none value of display

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

Enter a raw string value for display

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const ruby: #(String, String)

ruby value of display

pub const ruby_base: #(String, String)

ruby-base value of display

pub const ruby_base_container: #(String, String)

ruby-base-container value of display

pub const ruby_text: #(String, String)

ruby-text value of display

pub const ruby_text_container: #(String, String)

ruby-text-container value of display

pub const run_in: #(String, String)

run-in value of display

pub const table: #(String, String)

table value of display

pub const table_caption: #(String, String)

table-caption value of display

pub const table_cell: #(String, String)

table-cell value of display

pub const table_column: #(String, String)

table-column value of display

pub const table_column_group: #(String, String)

table-column-group value of display

pub const table_footer_group: #(String, String)

table-footer-group value of display

pub const table_header_group: #(String, String)

table-header-group value of display

pub const table_row: #(String, String)

table-row value of display

pub const table_row_group: #(String, String)

table-row-group value of display

pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

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

Search Document