📄️ background-color
Learn how to use the CSS background-color property to set the solid color behind an element's content, padding, and border.
📄️ background-image
Learn how to use the CSS background-image property to apply one or more images or gradients as the background of an element.
📄️ background-gradient
Learn how to use CSS gradient functions (linear and radial) to create smooth, code-generated color transitions as an element's background without using image files.
📄️ background-position
Learn how to use the CSS background-position property to control the starting position of a background image within its container.
📄️ background-size
Learn how to use the CSS background-size property to control the dimensions and scaling of a background image, with a focus on the essential 'cover' and 'contain' values.
📄️ background-repeat
Learn how to use the CSS background-repeat property to control whether a background image tiles (repeats) across the element, and how to control repetition along the X and Y axes.
📄️ background-attachment
Learn how to use the CSS background-attachment property to control whether a background image scrolls with the content or remains fixed in the viewport (parallax effect).
📄️ background-shorthand
Learn how to use the CSS background shorthand property to define all background-related properties (color, image, repeat, position, size, attachment) in a single, concise declaration.