BackgroundImage

ICSS2Properties.BackgroundImage property

This property sets the background image of an element. When setting a background image, authors should also specify a background color that will be used when the image is unavailable. When the image is available, it is rendered on top of the background color. (Thus, the color is visible in the transparent parts of the image).

public string BackgroundImage { get; set; }

Return Value

background-image property

Property Value

Values for this property are either , to specify the image, or ’none’, when no image is used.

See Also