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.


The element generates a block-level box, and participates in a block formatting context. Other formatting contexts, such as flex formatting contexts, may also work with block-level elements.
The element generates an inline-level box, and participates in an inline formatting context.
The element generates a run-in box. Run-in elements act like inlines or blocks, depending on the surrounding elements.
The element lays out its contents using flex layout.
The element generates no boxes, and does not participate in any formatting context.
table-row-group, table-header-group, table-footer-group, table-row, table-cell, table-column-group, table-column, table-caption
The element is an internal table element, and participates in a table layout context.

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
The element is an internal ruby element, and participates in a ruby layout context.

ruby-base and ruby-text are layout-specific leaf types; ruby-base-container and ruby-text-container are layout-specific internal types.
layout-specific internal types
These display types require their parent and children to be of particular display types. For example, a table-row box requires its parent to be a table row group box and its children to be table-cell boxes.
layout-specific leaf types
These display types require their parent to be of a particular display type, but can accept any 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.

Formal syntax

Syntax not found in DB!


Specification Status Comment
CSS Display Module Level 3
The definition of 'display-outside' in that specification.
Working Draft Initial definition

Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support No support No support No support No support No support
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support No support No support No support No support No support

Document Tags and Contributors

Contributors to this page: ExE-Boss, mfluehr, wbamberg, Sebastianz, teoli
Last updated by: ExE-Boss,