offset-anchor
The offset-anchor property specifies the anchor point for offset paths.
Formal Syntax
auto | <position>
JavaScript Access
// Access via element.style
element.style.offsetAnchor = 'auto';
Browser Support
| Feature | Chrome | Firefox | Safari | Edge |
|---|---|---|---|---|
| offset-anchor | 116 | 72 | 16 | 116 |
| auto | 116 | 72 | 16 | 116 |
| bottom | 116 | 72 | 16 | 116 |
| center | 116 | 72 | 16 | 116 |
| left | 116 | 72 | 16 | 116 |
| right | 116 | 72 | 16 | 116 |
| top | 116 | 72 | 16 | 116 |
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-distance
- offset-path
- offset-position
- offset-rotate
- perspective
- perspective-origin
- position
- right
- rotate
- scale
- top
- transform
- transform-box
- transform-origin
- transform-style
- translate
- zoom
- overlay π§ͺ