Description

Positions a background image from the top left of the element. When percentage or length values are given the first is taken as across and the second down the element.

Example

 div{background-image:url(bg.jpg); background-position:top center;}

Values
[ [ <percentage> | <length> | left | center | right ] [ <percentage> | <length> | top | center | bottom ]? ] | [ [ left | center | right ] || [ top | center | bottom ] ] | inherit
Default value
0% 0%
Introduced in CSS version
1
Applies to elements
Block level elements
Inherited
bac
Browser Support
BrowsersIEFirefoxSafariOperaChrome
Versions81160.2

See the full list CSS properties and browser support: CSS Properties