CssBackgroundPosition.x constructor

CssBackgroundPosition.x(
  1. CssLength x
)

Creates a position from x coordinate (y defaults to center).

Implementation

factory CssBackgroundPosition.x(CssLength x) = _CssBackgroundPositionX;