scalatags.Styles

backgroundSize

object backgroundSize extends TypedStyle[Length]

The background-size CSS property specifies the size of the background images. The size of the image can be fully constrained or only partially in order to preserve its intrinsic ratio.

MDN

Linear Supertypes
TypedStyle[Length], Serializable, Serializable, Product, Equals, Style, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. backgroundSize
  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. val auto: StylePair

    The auto keyword that scales the background image in the corresponding direction such that its intrinsic proportion is maintained.

    The auto keyword that scales the background image in the corresponding direction such that its intrinsic proportion is maintained.

    MDN

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val contain: StylePair

    This keyword specifies that the background image should be scaled to be as large as possible while ensuring both its dimensions are less than or equal to the corresponding dimensions of the background positioning area.

    This keyword specifies that the background image should be scaled to be as large as possible while ensuring both its dimensions are less than or equal to the corresponding dimensions of the background positioning area.

    MDN

  10. val cover: StylePair

    This keyword specifies that the background image should be scaled to be as small as possible while ensuring both its dimensions are greater than or equal to the corresponding dimensions of the background positioning area.

    This keyword specifies that the background image should be scaled to be as small as possible while ensuring both its dimensions are greater than or equal to the corresponding dimensions of the background positioning area.

    MDN

  11. 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
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def finalize(): Unit

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

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

    Definition Classes
    Any
  16. 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
  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. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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