Gradient Angle
gradient-angle
Sets the direction of a linear gradient, using the same convention as a CSS linear-gradient. It has no effect when gradient-type=radial.
| Value | Description |
|---|---|
180 (default) | Runs top to bottom: the first stop is at the top. |
0–360 | CSS degrees: 0 points up and angles turn clockwise, so 90 runs left to right and 270 runs right to left. Any number wraps, so -90 is 270. |
top, right, bottom, left | Runs toward that side, like CSS to top. |
top,right, bottom,left, and other corners | Runs toward that corner, with the two sides given in either order. As in CSS, a corner’s direction depends on the frame’s aspect ratio. |
txt-gradient-angle uses the same convention.