verticalAlign

scalatags.generic.Styles.verticalAlign
object verticalAlign extends Style

The vertical-align CSS property specifies the vertical alignment of an inline or table-cell box.

MDN

Attributes

Graph
Supertypes
class Style
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Inherited methods

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.

Attributes

Inherited from:
Style
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val `super`: StylePair[Builder, String]

Aligns the baseline of the element with the superscript-baseline of its parent.

Aligns the baseline of the element with the superscript-baseline of its parent.

MDN

Attributes

lazy val baseline: StylePair[Builder, String]

Aligns the baseline of the element with the baseline of its parent. The baseline of some replaced elements, like textarea is not specified by the HTML specification, meaning that their behavior with this keyword may change from one browser to the other.

Aligns the baseline of the element with the baseline of its parent. The baseline of some replaced elements, like textarea is not specified by the HTML specification, meaning that their behavior with this keyword may change from one browser to the other.

MDN

Attributes

lazy val bottom: StylePair[Builder, String]

Align the bottom of the element and its descendants with the bottom of the entire line.

Align the bottom of the element and its descendants with the bottom of the entire line.

MDN

Attributes

lazy val middle: StylePair[Builder, String]

Aligns the middle of the element with the middle of lowercase letters in the parent.

Aligns the middle of the element with the middle of lowercase letters in the parent.

MDN

Attributes

lazy val sub: StylePair[Builder, String]

Aligns the baseline of the element with the subscript-baseline of its parent.

Aligns the baseline of the element with the subscript-baseline of its parent.

MDN

Attributes

lazy val text-bottom: StylePair[Builder, String]

Aligns the bottom of the element with the bottom of the parent element's font.

Aligns the bottom of the element with the bottom of the parent element's font.

MDN

Attributes

lazy val text-top: StylePair[Builder, String]

Aligns the top of the element with the top of the parent element's font.

Aligns the top of the element with the top of the parent element's font.

MDN

Attributes

lazy val top: StylePair[Builder, String]

Align the top of the element and its descendants with the top of the entire line.

Align the top of the element and its descendants with the top of the entire line.

MDN

Attributes