web api interface
CSSMathClamp
The CSSMathClamp interface of the CSS Typed Object Model API represents the CSS clamp() function. It inherits properties and methods from its parent CSSNumericValue.
Constructor
CSSMathClamp()- : Creates a new
CSSMathClampobject.
- : Creates a new
Instance properties
lower- : Returns a
CSSNumericValueobject containing the minimum value.
- : Returns a
value- : Returns a
CSSNumericValueobject containing the preferred value.
- : Returns a
upper- : Returns a
CSSNumericValueobject containing the upper value.
- : Returns a
Static methods
The interface also inherits methods from its parent interface, CSSMathValue.
Instance methods
The interface also inherits methods from its parent interface, CSSMathValue.
Examples
To do
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.