backgroundOrigin

object backgroundOrigin extends Style[String]

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.

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

class Style[String]
class Key
class Object
trait Matchable
class Any

Value members

Concrete fields

lazy val borderBox: StyleSetter

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

lazy val contentBox: StyleSetter

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

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

MDN

lazy val paddingBox: StyleSetter

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

Inherited fields

override val name: String
Inherited from
Style