Display

com.raquo.laminar.defs.styles.traits.Display
trait Display extends None

Attributes

Graph
Supertypes
trait None
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

lazy val block: StyleSetter

The element generates a block element box

The element generates a block element box

Attributes

lazy val contents: StyleSetter

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.

Attributes

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

Attributes

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.

Attributes

lazy val flowRoot: StyleSetter

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

Attributes

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

Attributes

lazy val inline: StyleSetter

The element generates one or more inline element boxes

The element generates one or more inline element boxes

Attributes

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.

Attributes

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

Attributes

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

Attributes

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

Attributes

lazy val listItem: StyleSetter

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

Attributes

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.

Attributes

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 <ruby> 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 <ruby> elements.

Attributes

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

Attributes

Behaves like the caption HTML element

Behaves like the caption HTML element

Attributes

Behaves like the td HTML element

Behaves like the td HTML element

Attributes

These elements behave like the corresponding col HTML elements

These elements behave like the corresponding col HTML elements

Attributes

These elements behave like the corresponding colgroup HTML elements

These elements behave like the corresponding colgroup HTML elements

Attributes

These elements behave like the corresponding tfoot HTML elements

These elements behave like the corresponding tfoot HTML elements

Attributes

These elements behave like the corresponding thead HTML elements

These elements behave like the corresponding thead HTML elements

Attributes

lazy val tableRow: StyleSetter

Behaves like the tr HTML element

Behaves like the tr HTML element

Attributes

These elements behave like the corresponding tbody HTML elements

These elements behave like the corresponding tbody HTML elements

Attributes