Module lightningcss::values::gradient
source · Expand description
CSS gradient values.
Structs
A
<color-stop>
within a gradient.A CSS
conic-gradient()
or repeating-conic-gradient()
.A CSS
linear-gradient()
or repeating-linear-gradient()
.A CSS
radial-gradient()
or repeating-radial-gradient()
.A color stop within a legacy
-webkit-gradient()
.An x/y position within a legacy
-webkit-gradient()
.Enums
A circle ending shape for a
radial-gradient()
.An ellipse ending shape for a
radial-gradient()
.A
radial-gradient()
ending shape.A CSS
<gradient>
value.Either a color stop or interpolation hint within a gradient.
The direction of a CSS
linear-gradient()
.A shape extent for a
radial-gradient()
.A legacy
-webkit-gradient()
.A keyword or number within a WebKitGradientPoint.