CSS position Property Reference

The CSS position property is a standard property in CSS Positioned Layout. Review its formal syntax, computed behavior, and practical declarations.

CSS position Property Reference

The CSS position property is a standard property in CSS Positioned Layout. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

position overview

The CSS position property is a standard property in CSS Positioned Layout. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

position formal syntax
FieldValue
Formal syntaxstatic | relative | absolute | sticky | fixed
Initial valuestatic
Applies toallElements
InheritedNo
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupCSS Positioned Layout
StatusStandard

Practical examples

These declarations demonstrate valid ways to set position. The initial and inherit global keywords remain available even when a property-specific value is preferable.

position live example
CSS .reset-example { position: initial; } .inherit-example { position: inherit; } @supports (position: relative) { .supported { position: relative; } }

Description

The CSS position property is a standard property in CSS Positioned Layout. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: position
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies