background-position

starting position of the background image

Example

1

Description

starting position of the background image

Note: If a second value is not specified, "center" will be assumed.

Values

Value Description
Values
x yan x,y coordinate
x% y%a relative x,y coordinate
center bottomaligned to the bottom and horizontally centered
center centervertically and horizontally centered
center topaligned to the top and horizontally centered
left bottomaligned to the bottom left corner
left centervertically centered and aligned left
left topaligned to the top left corner
right bottomaligned to the bottom right corner
right centervertically centered and aligned right
right topaligned to the top right corner