This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The display-outside
CSS property specifies the outer display type of the box generated by an element, dictating how the element participates in its parent formatting context.
/* Keyword values */ display-outside: block-level; display-outside: inline-level; display-outside: run-in; display-outside: contents; display-outside: none; display-outside: table-row-group; display-outside: table-header-group; display-outside: table-footer-group; display-outside: table-row; display-outside: table-cell; display-outside: table-column-group; display-outside: table-column; display-outside: table-caption; display-outside: ruby-base; display-outside: ruby-text; display-outside: ruby-base-container; display-outside: ruby-text-container; /* Global values */ display-outside: inherit; display-outside: initial; display-outside: unset;
Value not found in DB!
One of the keyword values listed below.
block-level
inline-level
run-in
contents
none
table-row-group, table-header-group, table-footer-group, table-row, table-cell, table-column-group, table-column, table-caption
table-cell
and table-caption
are layout-specific leaf types; the rest are layout-specific internal types.ruby-base, ruby-text, ruby-base-container, ruby-text-container
ruby-base
and ruby-text
are layout-specific leaf types; ruby-base-container
and ruby-text-container
are layout-specific internal types.table-row
box requires its parent to be a table row group box and its children to be table-cell
boxes.display-inside
value. For example, a table-caption
box must have a table
parent, but can establish any kind of formatting context for its children.Syntax not found in DB!
Specification | Status | Comment |
---|---|---|
CSS Display Module LevelĀ 3 The definition of 'display-outside' in that specification. |
Candidate Recommendation | Initial definition |
Not supported in any browsers.