Skip to main content

Module corner_shape

Module corner_shape 

Source
Expand description

Computed type for the corner-shape family of properties.

Structs§

CornerShape
The computed value for a single corner shape.

Functions§

interpolation_value_to_s 🔒
Inverse of s_to_interpolation_value.
s_to_interpolation_value 🔒
Compute the “normalized superellipse half corner” for a superellipse parameter s, per https://drafts.csswg.org/css-borders-4/#corner-shape-interpolation.

Type Aliases§

CornerShapeRect
The four computed corner shapes for an element.