css.properties

background-position-y

The background-position-y property sets the vertical position of a background image.

Formal Syntax

[ center | [ [ top | bottom | y-start | y-end ]? <length-percentage>? ]! ]#

See specification

JavaScript Access

// Access via element.style
element.style.backgroundPositionY = '0%';

Logical Property Group

This property belongs to the background-position logical property group, which includes:

Browser Support

standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
background-position-y149112
side-relative_values1444915.4144

Related Properties