The background Shorthand Property
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.
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.
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).
Learn how to use the CSS background-color property to set the solid color behind an element's content, padding, and border.
Learn how to use the CSS background-image property to apply one or more images or gradients as the background of an element.
Learn how to use the CSS background-position property to control the starting position of a background image within its container.