Glossary Term
background-position-y
The background-position-y CSS property sets the initial vertical 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: top Aligns the top edge of the background image with the top edge of the background position layer. center Aligns the vertical center of the background image with the vertical center of the background position layer. bottom Aligns the bottom edge of the background image with the bottom edge of the background position layer. <length> The offset of the given background image’s horizontal edge from the corresponding background position layer’s top horizontal edge. (Some browsers allow assigning the bottom edge for offset). <percentage> The offset of the given background image’s vertical position relative to the container. A value of 0% means that the top edge of the background image is aligned with the top edge of the container, and a value of 100% means that the bottom edge of the background image is aligned with the bottom edge of the container, thus a value of 50% vertically centers the background image.
Syntax example: background-position-y: top;
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…
