# Sandbox.UI.PositionMode

Possible values for `position` CSS property.

- Kind: enum
- Namespace: `Sandbox.UI`
- Assembly: `Sandbox.System`
- Modifiers: sealed

## Fields

- [`Absolute`](/api/Sandbox.UI.PositionMode/Absolute): Same as [Sandbox.UI.PositionMode.Relative](/api/Sandbox.UI.PositionMode/Relative), but the elements size does not affect other elements at all.
- [`Fixed`](/api/Sandbox.UI.PositionMode/Fixed): A root-viewport overlay that remains a logical child. Insets and percentages use the viewport, ignoring ancestor scrolling, transforms and clipping. Unset insets start at the viewport's top-left (not the CSS static position). Logical visibility and opacity still apply.
- [`Relative`](/api/Sandbox.UI.PositionMode/Relative): Enables `top`, `right`, `bottom`, `left`, and `z-index` to offset the element from its would-be position with [Sandbox.UI.PositionMode.Static](/api/Sandbox.UI.PositionMode/Static).
- [`Static`](/api/Sandbox.UI.PositionMode/Static): Default, the `top`, `right`, `bottom`, `left`, and `z-index` properties have no effect.
