background-position:
[ top | bottom | left | right
| center | percent | length
| [ top | bottom | center ]
[ left | right | center ]
| [ left | right | center | percent | length ]
[ top | bottom | center | percent | length ] ]#
Initial value |
top left
|
---|---|
Applies to | all elements |
Inherited | no |
The background-position
property determines the position
of the background image relative to the top-left corner of the
padding area of the element in which it appears.
Note that the
background-attachment
property can be used to change the origin relative to which the
background image is positioned.