← TechnologyThe essentials of

Left with relative positioning: moving without reflow

Publisher: ResumeMaker • 1 source

Published: 23 Oct 2026 08:23 · Updated: 23 Oct 2026 08:23

AI source check: 22 Oct 2026 16:54. This is not editorial approval.

In a few sentences

In brief

With position: relative, a positive left value moves an element rightward from its normal position. Its original space remains reserved in the flow.

Useful to know

With position: relative, a positive left value moves an element rightward from its normal position. Its original space remains reserved in the flow. [1]

Therefore, left: 20px is not a substitute for spacing between components. The visual shift can cause overlap without moving a neighbour. To change the layout itself, use a layout rule.

Sources

For further detail and to check the information:

  1. [1] MDN — CSS left ↗