scalatags.Styles

fontSize

object fontSize extends TypedStyle[Length]

The font-size CSS property specifies the size of the font – specifically the desired height of glyphs from the font. Setting the font size may, in turn, change the size of other items, since it is used to compute the value of em and ex Length units.

MDN

Linear Supertypes
TypedStyle[Length], Serializable, Serializable, Product, Equals, Style, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. fontSize
  2. TypedStyle
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. Style
  8. AnyRef
  9. 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 :=(value: Length): StylePair

    Assign this style to some value of the correct type.

    Assign this style to some value of the correct type.

    Definition Classes
    TypedStyle
  4. def :=(value: String): StylePair

    Force-assigns a typed style to a string even if its type would not normally .

    Force-assigns a typed style to a string even if its type would not normally .allow it

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

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

    Definition Classes
    Any
  7. def clone(): AnyRef

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

    The name of this style in CSS, normally dash-separated

    The name of this style in CSS, normally dash-separated

    Definition Classes
    TypedStyleStyle
  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. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  13. val jsName: String

    The name of this style from Javascript, normally camel-case

    The name of this style from Javascript, normally camel-case

    Definition Classes
    TypedStyleStyle
  14. val large: StylePair

  15. val larger: StylePair

    Larger than the parent element's font size, by roughly the ratio used to separate the absolute size keywords above.

    Larger than the parent element's font size, by roughly the ratio used to separate the absolute size keywords above.

    MDN

  16. val medium: StylePair

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

    Definition Classes
    AnyRef
  18. final def notify(): Unit

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

    Definition Classes
    AnyRef
  20. val small: StylePair

  21. val smaller: StylePair

    Smaller than the parent element's font size, by roughly the ratio used to separate the absolute size keywords above.

    Smaller than the parent element's font size, by roughly the ratio used to separate the absolute size keywords above.

    MDN

  22. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. val x-large: StylePair

  27. val x-small: StylePair

  28. val xx-large: StylePair

  29. val xx-small: StylePair

Inherited from TypedStyle[Length]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Style

Inherited from AnyRef

Inherited from Any

Ungrouped