backgroundClip

object backgroundClip extends Style[String]

The background-clip CSS property specifies whether an element's background, either the color or image, extends underneath its border.

The background-clip CSS property specifies whether an element's background, either the color or image, extends underneath its border.

If there is no background image, this property has only visual effect when the border has transparent regions (because of border-style) or partially opaque regions; otherwise the border covers up the difference.

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