CSS position-visibility Property Reference

The CSS position-visibility property is a experimental property in CSS Anchor Positioning. Review its formal syntax, computed behavior, and practical declarations.

CSS position-visibility Property Reference

The CSS position-visibility property is a experimental property in CSS Anchor Positioning. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

position-visibility overview

The CSS position-visibility property is a experimental property in CSS Anchor Positioning. 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-visibility formal syntax
FieldValue
Formal syntaxalways | [ anchors-valid || anchors-visible || no-overflow ]
Initial valueanchors-visible
Applies toabsolutelyPositionedElements
InheritedNo
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupCSS Anchor Positioning
StatusExperimental

Practical examples

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

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

Description

The CSS position-visibility property is a experimental property in CSS Anchor Positioning. Review its formal syntax, computed behavior, and practical declarations.

References

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

Similar or alternative tools

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