www.fgks.org   »   [go: up one dir, main page]

CSS Attributes: Color and Background

This section contains a list of Cascading Style Sheets (CSS) properties that apply to background styles and color.

Attributes/Properties

background

Sets or retrieves up to five separate background properties of the object.

backgroundAttachment

Sets or retrieves how the background image is attached to the object within the document.

backgroundColor

Sets or retrieves the color behind the content of the object.

backgroundImage

Sets or retrieves the background image of the object.

backgroundPosition

Sets or retrieves the position of the background of the object.

backgroundPositionX

Sets or retrieves the x-coordinate of the backgroundPosition property.

backgroundPositionY

Sets or retrieves the y-coordinate of the backgroundPosition property.

backgroundRepeat

Sets or retrieves how the backgroundImage property of the object is tiled.

color

Sets or retrieves the color of the text of the object.


background (CSS)
backgroundAttachment
backgroundColor
backgroundImage
backgroundPosition
backgroundPositionX
backgroundPositionY
backgroundRepeat
color (CSS)

MSDN Library
Web Development
HTML and CSS
Cascading Style Sheets (CSS)
CSS Reference
Attributes
Color and Background