Click to Rate and Give Feedback
MSDN
MSDN Library
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

Gets or sets up to five separate background properties of the object.

backgroundAttachment

Gets or sets how the background image is attached to the object within the document.

backgroundClip

Gets or sets the background painting area.

backgroundColor

Gets or sets the color behind the content of the object.

backgroundImage

Gets or sets the background image of the object.

backgroundOrigin

Gets or sets the background positioning area of a box or multiple boxes.

backgroundPosition

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

backgroundPositionX

Gets or sets the x-coordinate of the backgroundPosition property.

backgroundPositionY

Gets or sets the y-coordinate of the backgroundPosition property.

backgroundRepeat

Gets or sets how the backgroundImage property of the object is tiled.

backgroundSize

Gets or sets the size of the background images.

boxShadow

Gets or sets a comma-separated list of shadows that attaches one or more drop shadows to the current box.

color

Gets or sets the color of the text of the object.

opacity

Gets or sets a value that specifies object or group opacity in CSS or Scalable Vector Graphics (SVG).

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker