StyleProp

class StyleProp[V](val name: String, val prefixes: Seq[String]) extends Key with GlobalKeywords with DerivedStyleBuilder[StyleSetter, DerivedStyleProp]
class Key
class Object
trait Matchable
class Any

Value members

Concrete methods

def :=(value: V | String): StyleSetter
def <--[A](values: Source[A])(implicit ev: A => V | String): StyleUpdater[V]
def apply(value: V | String): StyleSetter
def maybe(value: Option[V | String]): Setter[HtmlElement]
def withPrefixes(ps: StyleVendorPrefixes.type => String*): StyleProp[V]

Create a new key for this style with these prefixes

Create a new key for this style with these prefixes

Concrete fields

override val name: String
val prefixes: Seq[String]

Inherited fields

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

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

Inherited from:
GlobalKeywords

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

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

Inherited from:
GlobalKeywords

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.

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.

Inherited from:
GlobalKeywords
lazy val unset: StyleSetter

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.

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.

Inherited from:
GlobalKeywords