BackgroundAttachment

com.raquo.laminar.defs.styles.traits.BackgroundAttachment

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

lazy val fixed: StyleSetter

The background is fixed relative to the viewport. Even if an element has a scrolling mechanism, the background doesn't move with the element. (This is not compatible with background-clip: text.)

The background is fixed relative to the viewport. Even if an element has a scrolling mechanism, the background doesn't move with the element. (This is not compatible with background-clip: text.)

Attributes

lazy val local: StyleSetter

The background is fixed relative to the element's contents. If the element has a scrolling mechanism, the background scrolls with the element's contents, and the background painting area and background positioning area are relative to the scrollable area of the element rather than to the border framing them.

The background is fixed relative to the element's contents. If the element has a scrolling mechanism, the background scrolls with the element's contents, and the background painting area and background positioning area are relative to the scrollable area of the element rather than to the border framing them.

Attributes

lazy val scroll: StyleSetter

The background is fixed relative to the element itself and does not scroll with its contents. (It is effectively attached to the element's border.)

The background is fixed relative to the element itself and does not scroll with its contents. (It is effectively attached to the element's border.)

Attributes