2.1.1.2 background-position-x

backgroundPositionX of type DOMString, read/write

Sets or retrieves the x-coordinate of the backgroundPosition property. The string value can be in the form of an absolute units designator (cm, mm, in, pt, pc, px) or a relative units designator (em, ex, ch, rem, vw, vh, and vmin). It can also be in the form of a percentage or a horizontal alignment value.

background-position-x

Value:

<length> | <percentage> | [ left || center || right ]

Initial:

0%

Applies to:

All elements

Inherited:

no 

Percentages:

Width or height of the element

Media:

visual

Computed value:

As specified