fontSize

object fontSize extends Style[String]

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.

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

class Style[String]
class Key
class Object
trait Matchable
class Any

Value members

Concrete fields

lazy val large: StyleSetter
lazy val larger: StyleSetter

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

lazy val medium: StyleSetter
lazy val small: StyleSetter
lazy val smaller: StyleSetter

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

lazy val xLarge: StyleSetter
lazy val xSmall: StyleSetter
lazy val xxLarge: StyleSetter
lazy val xxSmall: StyleSetter

Inherited fields

override val name: String
Inherited from
Style