CSS position Property Explained

What the CSS position property does, with an example.

Published November 3, 2026

The CSS position property controls how an element is positioned — static (default), relative, absolute, fixed, or sticky.

Key points

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

Example

position: absolute;
More CSS articles