Menu Samaritan's Purse

BACKGROUND-ORIGIN

The background-origin property specifies the background positioning area.

SYNTAX

CSS

background-origin: value;

JS

object.style.backgroundOrigin = "value";

VALUES

<'background-origin'> = <box>#
<box> = border-box | padding-box | content-box
border-box

Area within the border box.

padding-box

Area within the padding box.

content-box

Area within the content box.

INITIAL

padding-box

EXAMPLES

BORDER-BOX

CONTENT-BOX

PADDING-BOX

JS

World Wide Web Consortium (W3C)