background-position

Previous- background-attachment  |  Next-background

Description

If a background image has been specified, this property specifies its initial position.


Initial Value : 0% 0%

Applies to : block-level and replaced elements

Inherited : no

Possible Values
[<percentage> | <length>]{1,2} | [top | center | bottom] || [left | center | right]

Example(s)
body { background: url("banner.jpeg") right top }
body { background: url("banner.jpeg") top center }
body { background: url("banner.jpeg") center }
body { background: url("banner.jpeg") bottom }

Previous- background-attachment  |  Next-background