offset-rotate
Introduction
The offset-rotate CSS property defines the orientation of an element as it is positioned along the path defined by offset-path.
Use offset-rotate with offset-path and offset-distance to decide whether the element follows the path tangent or keeps a fixed rotation while moving along the path.
Examples
Syntax
Values
-
autoThe element rotates by the angle between the path direction at its current position and the positive x-axis. This is the default value.
-
<angle>The element keeps the specified clockwise rotation while positioned on the path. Use
0degwhen the element should not rotate with the path.
Info
Lynx currently supports auto and <angle> values in the range 0deg to 360deg.
Formal definition
| Initial value | auto |
| Applies to | all elements |
| Inherited | no |
| Animatable | no |
Formal syntax
Difference from Web
- Lynx does not support
auto <angle>, where the specified angle is added to the automatic path direction. - Lynx does not support
reverse, which is equivalent toauto 180degon the Web.
Compatibility
LCD tables only load in the browser