position
The position property specifies the positioning method used for an element.
Formal Syntax
static | relative | absolute | sticky | fixed | <running()>
Browser Support
| Feature | Chrome | Firefox | Safari | Edge |
|---|---|---|---|---|
| position | 1 | 1 | 1 | 12 |
| absolute | 1 | 1 | 1 | 12 |
| absolutely_positioned_flex_children | 52 | 52 | 11 | 12 |
| fixed | 1 | 1 | 1 | 12 |
| position_sticky_table_elements | 56 | 59 | 8 | 16 |
| relative | 1 | 1 | 1 | 12 |
| static | 1 | 1 | 1 | 12 |
| sticky | 56 | 32 | 13 | 16 |
Related Properties
- backface-visibility
- bottom
- inset
- inset-block
- inset-block-end
- inset-block-start
- inset-inline
- inset-inline-end
- inset-inline-start
- left
- offset
- offset-anchor
- offset-distance
- offset-path
- offset-position
- offset-rotate
- perspective
- perspective-origin
- right
- rotate
- scale
- top
- transform
- transform-box
- transform-origin
- transform-style
- translate
- zoom
- overlay ๐งช