Display

trait Display extends None
trait None
class Object
trait Matchable
class Any

Value members

Concrete fields

lazy val block: StyleSetter

The element generates a block element box

The element generates a block element box

These elements don't produce a specific box by themselves. They are replaced by their pseudo-box and their child boxes.

These elements don't produce a specific box by themselves. They are replaced by their pseudo-box and their child boxes.

lazy val flex: StyleSetter

The element behaves like a block element and lays out its content according to the flexbox model

The element behaves like a block element and lays out its content according to the flexbox model

lazy val flow: StyleSetter

The element lays out its contents using flow layout (block-and-inline layout).

The element lays out its contents using flow layout (block-and-inline layout).

If its outer display type is inline or run-in, and it is participating in a block or inline formatting context, then it generates an inline box. Otherwise it generates a block container box.

Depending on the value of other properties (such as position, float, or overflow) and whether it is itself participating in a block or inline formatting context, it either establishes a new block formatting context (BFC) for its contents or integrates its contents into its parent formatting context.

The element generates a block element box that establishes a new block formatting context, defining where the formatting root lies

The element generates a block element box that establishes a new block formatting context, defining where the formatting root lies

lazy val grid: StyleSetter

The element behaves like a block element and lays out its content according to the grid model

The element behaves like a block element and lays out its content according to the grid model

The element generates one or more inline element boxes

The element generates one or more inline element boxes

The element generates a block element box that will be flowed with surrounding content as if it were a single inline box.

The element generates a block element box that will be flowed with surrounding content as if it were a single inline box.

The element behaves like an inline element and lays out its content according to the flexbox model

The element behaves like an inline element and lays out its content according to the flexbox model

The element behaves like an inline element and lays out its content according to the grid model

The element behaves like an inline element and lays out its content according to the grid model

The inline-table value does not have a direct mapping in HTML. It behaves like a table HTML element, but as an inline box, rather than a block-level box. Inside the table box is a block-level context

The inline-table value does not have a direct mapping in HTML. It behaves like a table HTML element, but as an inline box, rather than a block-level box. Inside the table box is a block-level context

The element generates a block box for the content and a separate list-item inline box

The element generates a block box for the content and a separate list-item inline box

lazy override val none: StyleSetter

Turns off the display of an element (it has no effect on layout); all descendant elements also have their display turned off. The document is rendered as though the element did not exist.

Turns off the display of an element (it has no effect on layout); all descendant elements also have their display turned off. The document is rendered as though the element did not exist.

To render an element box's dimensions, yet have its contents be invisible, see the visibility property.

lazy val ruby: StyleSetter

The element behaves like an inline element and lays out its content according to the ruby formatting model. It behaves like the corresponding HTML elements.

The element behaves like an inline element and lays out its content according to the ruby formatting model. It behaves like the corresponding HTML elements.

lazy val table: StyleSetter

Behaves like the table HTML element. It defines a block-level box

Behaves like the table HTML element. It defines a block-level box

Behaves like the caption HTML element

Behaves like the caption HTML element

Behaves like the td HTML element

Behaves like the td HTML element

These elements behave like the corresponding col HTML elements

These elements behave like the corresponding col HTML elements

These elements behave like the corresponding colgroup HTML elements

These elements behave like the corresponding colgroup HTML elements

These elements behave like the corresponding tfoot HTML elements

These elements behave like the corresponding tfoot HTML elements

These elements behave like the corresponding thead HTML elements

These elements behave like the corresponding thead HTML elements

Behaves like the tr HTML element

Behaves like the tr HTML element

These elements behave like the corresponding tbody HTML elements

These elements behave like the corresponding tbody HTML elements