back

Background-Position

This is used to set the position of a background image.
The property uses two values, the first sets the horizontal position (left, center, right) and the second sets the vertical position (top, center, bottom).

Another option is to set percentages, again the first value sets horizontal and the second the vertical, 0% 0% is top left and 100% 100% is bottom right.

Example