Specifies the vertical-coordinate of the background-image relative to the upper-left corner of the container object.
This property is not supported by all browsers, so use background-position property instead wherever you can.
One of the following values:
|Background is aligned to the bottom.|
|Background is vertically centered.|
|The vertical position of the background in length units. For the supported length units, see the length page.|
|The vertical position is the specified percentage of the height of the object.|
|Background is aligned to the top.|
Example HTML code 1:
This example illustrates the use of the background-position-y property:
Did you find this example helpful?
Supported by tags:
User Contributed Comments