offset-distance
Introduction
The offset-distance CSS property specifies the position of an element along the path defined by offset-path.
Use offset-distance with offset-path to place an element at a specific progress point on a path, or animate it from the start of the path to the end.
Examples
Syntax
Values
-
<number>Specifies the element's progress along the path as a normalized value.
0places the element at the start of the path, and1places it at the end of the path. -
<percentage>Specifies the element's progress along the path.
0%places the element at the start of the path, and100%places it at the end of the path. -
Default value
0
Info
Lynx currently supports number values in the range 0 to 1 and percentage values in the range 0% to 100%.
Formal definition
| Initial value | 0 |
| Applies to | all elements |
| Inherited | no |
| Animatable | yes |
| Percentages | refer to the total path length |
Formal syntax
Difference from Web
- Lynx does not support
<length>orcalc()values.
Compatibility
LCD tables only load in the browser