backgroundOrigin

scalatags.generic.Styles.backgroundOrigin
object backgroundOrigin extends Style

The background-origin CSS property determines the background positioning area, that is the position of the origin of an image specified using the background-image CSS property.

Note that background-origin is ignored when background-attachment is fixed.

MDN

Attributes

Graph
Supertypes
class Style
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Inherited methods

def :=[Builder, T](v: T)(implicit ev: StyleValue[Builder, T]): StylePair[Builder, T]

Creates an StylePair from an Style and a value of type T, if there is an StyleValue of the correct type.

Creates an StylePair from an Style and a value of type T, if there is an StyleValue of the correct type.

Attributes

Inherited from:
Style
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val border-box: StylePair[Builder, String]

The background extends to the outside edge of the border (but underneath the border in z-ordering).

The background extends to the outside edge of the border (but underneath the border in z-ordering).

MDN

Attributes

lazy val content-box: StylePair[Builder, String]

The background is painted within (clipped to) the content box.

The background is painted within (clipped to) the content box.

MDN

Attributes

lazy val padding-box: StylePair[Builder, String]

No background is drawn below the border (background extends to the outside edge of the padding).

No background is drawn below the border (background extends to the outside edge of the padding).

MDN

Attributes