CSS background-position Property Explained

What the CSS background-position property does, with an example.

Published November 6, 2026

The CSS background-position property controls the starting position of a background image within its element.

Key points

  • Check browser compatibility on a resource like caniuse.com if targeting older browsers

Example

background-position: center;
More CSS articles