FontWeightStyle

trait FontWeightStyle[T] extends NormalStyle[T]
trait NormalStyle[T]
class Object
trait Matchable
class Any

Value members

Inherited methods

protected def buildStringValue(value: String): T
protected def valueAsString(value: T): String

Concrete fields

lazy val bold: T

Bold font weight. Same as 700. --MDN

Bold font weight. Same as 700. --MDN

lazy val bolder: T

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

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

lazy val lighter: T

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

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

lazy override val normal: T

Normal font weight. Same as 400. --MDN

Normal font weight. Same as 400. --MDN

Inherited fields

lazy val inherit: T

The inherit CSS keyword causes the element for which it is specified to take the computed value of the property from its parent element. --MDN

The inherit CSS keyword causes the element for which it is specified to take the computed value of the property from its parent element. --MDN

See also:
Inherited from:
StyleStringValueBuilder
lazy val initial: T

The initial CSS keyword applies the initial (or default) value of a property to an element. --MDN

The initial CSS keyword applies the initial (or default) value of a property to an element. --MDN

See also:
Inherited from:
StyleStringValueBuilder
lazy val revert: T

The revert CSS keyword reverts the cascaded value of the property from its current value to the value the property would have had if no changes had been made by the current style origin to the current element. --MDN

The revert CSS keyword reverts the cascaded value of the property from its current value to the value the property would have had if no changes had been made by the current style origin to the current element. --MDN

See also:
Inherited from:
StyleStringValueBuilder
lazy val unset: T

The unset CSS keyword resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not. In other words, it behaves like the inherit keyword in the first case, when the property is an inherited property, and like the initial keyword in the second case, when the property is a non-inherited property. --MDN

The unset CSS keyword resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not. In other words, it behaves like the inherit keyword in the first case, when the property is an inherited property, and like the initial keyword in the second case, when the property is a non-inherited property. --MDN

See also:
Inherited from:
StyleStringValueBuilder