scalatags.generic.Styles

display

object display extends Style

The display CSS property specifies the type of rendering box used for an element. In HTML, default display property values are taken from behaviors described in the HTML specifications or from the browser/user default stylesheet. The default value in XML is inline.

In addition to the many different display box types, the value none lets you turn off the display of an element; when you use none, all descendant elements also have their display turned off. The document is rendered as though the element doesn't exist in the document tree.

MDN

Linear Supertypes
Style, Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. display
  2. Style
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def :=[Builder, T](v: T)(implicit ev: StyleValue[Builder, T]): StylePair[Builder, T]

    Creates an StylePair from an Style and a value of type T, if there is an StyleValue of the correct type.

    Creates an StylePair from an Style and a value of type T, if there is an StyleValue of the correct type.

    Definition Classes
    Style
  4. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. val block: StylePair[Builder, String]

    The element generates a block element box.

    The element generates a block element box.

    MDN

  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val cssName: String

    Definition Classes
    Style
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. val flex: StylePair[Builder, String]

    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.

    MDN

  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. val inline: StylePair[Builder, String]

    The element generates one or more inline element boxes.

    The element generates one or more inline element boxes.

    MDN

  14. val inline-block: StylePair[Builder, String]

    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.

    MDN

  15. val inline-flex: StylePair[Builder, String]

    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.

    MDN

  16. val inline-table: StylePair[Builder, String]

    The inline-table value does not have a direct mapping in HTML.

    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

    MDN

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. val jsName: String

    Definition Classes
    Style
  19. val list-item: StylePair[Builder, String]

    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.

    MDN

  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. val none: StylePair[Builder, String]

    Turns off the display of an element (it has no effect on layout); all descendant elements also have their display turned off.

    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.

    MDN

  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. val table: StylePair[Builder, String]

    Behaves like the table HTML element.

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

    MDN

  26. val table-caption: StylePair[Builder, String]

    Behaves like the caption HTML element.

    Behaves like the caption HTML element.

    MDN

  27. val table-cell: StylePair[Builder, String]

    Behaves like the td HTML element

    Behaves like the td HTML element

    MDN

  28. val table-column: StylePair[Builder, String]

    These elements behave like the corresponding col HTML elements.

    These elements behave like the corresponding col HTML elements.

    MDN

  29. val table-column-group: StylePair[Builder, String]

    These elements behave like the corresponding colgroup HTML elements.

    These elements behave like the corresponding colgroup HTML elements.

    MDN

  30. val table-footer-group: StylePair[Builder, String]

    These elements behave like the corresponding tfoot HTML elements

    These elements behave like the corresponding tfoot HTML elements

    MDN

  31. val table-header-group: StylePair[Builder, String]

    These elements behave like the corresponding thead HTML elements

    These elements behave like the corresponding thead HTML elements

    MDN

  32. val table-row: StylePair[Builder, String]

    Behaves like the tr HTML element

    Behaves like the tr HTML element

    MDN

  33. val table-row-group: StylePair[Builder, String]

    These elements behave like the corresponding tbody HTML elements

    These elements behave like the corresponding tbody HTML elements

    MDN

  34. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Style

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped