pub type BoxShadow = BoxShadow<Color, Length, NonNegativeLength, Length>;
Expand description
A computed value for a single shadow of the box-shadow
property.
Aliased Type§
struct BoxShadow {
pub base: GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>,
pub spread: CSSPixelLength,
pub inset: bool,
}
Fields§
§base: GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>
The base shadow.
spread: CSSPixelLength
The spread radius.
inset: bool
Whether this is an inset box shadow.