In CSS, what value of the 'position' property allows an element to be positioned relative to its normal position?

The story behind the answer

The `position` value that lets an element be positioned relative to its normal position is `relative`.

With `position: relative`, the browser first places the element in normal flow. Properties such as `top`, `right`, `bottom`, and `left` then offset its visual position from that starting point. The element's original space remains reserved, so nearby elements are laid out as though it had not moved.

This makes relative positioning useful for small visual adjustments and for establishing a containing block for an absolutely positioned descendant. `static` is the default and ignores positional offsets. `absolute` removes the element from normal flow and positions it relative to a suitable ancestor, while `fixed` positions it relative to the viewport in typical cases. CSS2.1 formally describes relative positioning as normal-flow placement followed by an offset.

Source: Wikipedia · fact-checked Aug. 2026

Add question to a list

Choose a list to keep this question in: