Glossary Term
background-position-x
The background-position-x CSS property sets the initial horizontal position for each background image. The position is relative to the position layer set by background-origin.
The value of this property is overridden by any declaration of the background or background-position shorthand properties applied to the element after it.
Values: This property is specified as one or more comma-separated values:
Values: left Aligns the left edge of the background image with the left edge of the background position layer. center Aligns the center of the background image with the center of the background position layer. right Aligns the right edge of the background image with the right edge of the background position layer. <length> The offset of the given background image’s left vertical edge from the background position layer’s left vertical edge. (Some browsers allow assigning the right edge for offset). <percentage> The offset of the given background image’s horizontal position relative to the container. A value of 0% means that the left edge of the background image is aligned with the left edge of the container, and a value of 100% means that the right edge of the background image is aligned with the right edge of the container, thus a value of 50% horizontally centers the background image.
Syntax example: background-position-x: left;
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
