Object

com.raquo.domtypes.generic.defs.styles.Styles

fontWeight

Related Doc: package Styles

Permalink

object fontWeight extends Style[Int]

The font-weight CSS property specifies the weight or boldness of the font. However, some fonts are not available in all weights; some are available only on normal and bold.

Numeric font weights for fonts that provide more than just normal and bold. If the exact weight given is unavailable, then 600-900 use the closest available darker weight (or, if there is none, the closest available lighter weight), and 100-500 use the closest available lighter weight (or, if there is none, the closest available darker weight). This means that for fonts that provide only normal and bold, 100-500 are normal, and 600-900 are bold.

MDN

Linear Supertypes
Style[Int], Key, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. fontWeight
  2. Style
  3. Key
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  5. lazy val bold: StyleSetter

    Permalink

    Bold font weight.

    Bold font weight. Same as 700.

    MDN

  6. lazy val bolder: StyleSetter

    Permalink

    One font weight darker than the parent element (among the available weights of the font)

    One font weight darker than the parent element (among the available weights of the font)

    MDN

  7. def clone(): AnyRef

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

    Permalink

    CSS property name, e.g.

    CSS property name, e.g. "background-color"

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

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  15. lazy val lighter: StyleSetter

    Permalink

    One font weight lighter than the parent element (among the available weights of the font).

    One font weight lighter than the parent element (among the available weights of the font).

    MDN

  16. val name: String

    Permalink

    Javascript property name for this CSS property, e.g.

    Javascript property name for this CSS property, e.g. "backgroundColor"

    Definition Classes
    StyleKey
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. lazy val normal: StyleSetter

    Permalink

    Normal font weight.

    Normal font weight. Same as 400.

    MDN

  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Style[Int]

Inherited from Key

Inherited from AnyRef

Inherited from Any

Ungrouped