asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > CSS Properties > Color and Background Properties

CSS Color and Background Properties


PropertyDescription
backgroundSets all background style properties in a single declaration.
background-attachmentSets whether a background image’s position is fixed within the viewport, or scrolls with its containing block.
background-blend-modeSets how an element’s background images should blend with each other and with the element’s background color.
background-clipSets whether an element’s background extends underneath its border box, padding box, or content box.
background-colorSets the background color of an element.
background-imageSets one or more background images on an element.
background-originSets the background’s origin: from the border start, inside the border, or inside the padding.
background-positionSets the initial position for each background image.
background-position-xSets the initial horizontal position for each background image.
background-position-ySets the initial vertical position for each background image.
background-repeatSets how background images are repeated.
background-sizeSets sets the size of the element’s background image.
See Also

Colors and Backgrounds   Using StyleSheets   W3C Cascading Style Sheet Specification



Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note