Position
Control how an element is placed in the document.
The position property determines if an element participates in the normal layout flow or if it is removed and positioned manually.
Values
| Value | Description |
|---|---|
Relative | Default. The element remains in the document flow. inset offsets move it visually, but it still takes up space in its original location. |
Absolute | The element is removed from the flow and positioned in its parent's containing block. |
Example
Loading Preview…