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
backgroundGets or sets up to five separate background properties of the object.
backgroundAttachmentGets or sets how the background image is attached to the object within the document.
backgroundClipGets or sets the background painting area.
backgroundColorGets or sets the color behind the content of the object.
backgroundImageGets or sets the background image of the object.
backgroundOriginGets or sets the background positioning area of a box or multiple boxes.
backgroundPositionSets or retrieves the position of the background of the object.
backgroundPositionXGets or sets the x-coordinate of the backgroundPosition property.
backgroundPositionYGets or sets the y-coordinate of the backgroundPosition property.
backgroundRepeatGets or sets how the backgroundImage property of the object is tiled.
backgroundSizeGets or sets the size of the background images.
boxShadowGets or sets a comma-separated list of shadows that attaches one or more drop shadows to the current box.
colorGets or sets the color of the text of the object.
opacityGets or sets a value that specifies object or group opacity in CSS or Scalable Vector Graphics (SVG).