right
The right property specifies the right position of a positioned element.
Formal Syntax
auto | <length-percentage> | <anchor()> | <anchor-size()>
Logical Property Group
This property belongs to the inset logical property group, which includes:
- bottom
- inset-block-end
- inset-block-start
- inset-inline-end
- inset-inline-start
- left
- right (current property)
- top
Browser Support
| Feature | Chrome | Firefox | Safari | Edge |
|---|---|---|---|---|
| right | 1 | 1 | 1 | 12 |
| anchor | 125 | 147 | 26 | 125 |
| anchor-size | 132 | 147 | 26 | 132 |
| auto | 1 | 1 | 1 | 12 |
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
- position
- rotate
- scale
- top
- transform
- transform-box
- transform-origin
- transform-style
- translate
- zoom
- overlay ๐งช