pub type BoxShadow = BoxShadow<Color, Length, NonNegativeLength, Length>;Expand description
A computed value for a single shadow of the box-shadow property.
Aliased Type§
#[repr(C)]pub 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: CSSPixelLengthThe spread radius.
inset: boolWhether this is an inset box shadow.