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
- Alphabetic
- By Inheritance
- display
- Style
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- 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
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- lazy val block: StylePair[Builder, String]
The element generates a block element box.
The element generates a block element box.
MDN
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val cssName: String
- Definition Classes
- Style
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- lazy 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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- lazy val inline: StylePair[Builder, String]
The element generates one or more inline element boxes.
The element generates one or more inline element boxes.
MDN
- lazy 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
- lazy 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
- lazy 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
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val jsName: String
- Definition Classes
- Style
- lazy 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- lazy 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
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- lazy val table: StylePair[Builder, String]
Behaves like the table HTML element.
Behaves like the table HTML element. It defines a block-level box.
MDN
- lazy val table-caption: StylePair[Builder, String]
Behaves like the caption HTML element.
Behaves like the caption HTML element.
MDN
- lazy val table-cell: StylePair[Builder, String]
Behaves like the td HTML element
Behaves like the td HTML element
MDN
- lazy 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
- lazy 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
- lazy 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
- lazy 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
- lazy val table-row: StylePair[Builder, String]
Behaves like the tr HTML element
Behaves like the tr HTML element
MDN
- lazy 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
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.