CSS place-items Property Explained

What the CSS place-items property does, with an example.

Published November 7, 2026

The CSS place-items property a shorthand for align-items and justify-items together, commonly used to center content in a grid.

Key points

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

Example

place-items: center;
More CSS articles