package mosaic

  1. Overview
  2. Docs

Module Mosaic_mlx.DisplaySource

CSS display property controlling box generation and child layout algorithm.

type t = Toffee.Style.Display.t =
  1. | Block
    (*

    Children follow the block layout algorithm.

    *)
  2. | Flex
    (*

    Children follow the flexbox layout algorithm.

    *)
  3. | Grid
    (*

    Children follow the CSS grid layout algorithm.

    *)
  4. | None
    (*

    Node is hidden and generates no boxes.

    *)