CssMathClamp Class

The clamp() function (https://drafts.css-houdini.org/css-typed-om-1/#cssmathclamp).

public sealed class CssMathClamp : CssMathValue
Inheritance
CssMathValue CssMathClamp

Constructors

NameDescription
CssMathClamp(CssNumberish, CssNumberish, CssNumberish)https://drafts.css-houdini.org/css-typed-om-1/#dom-cssmathclamp-cssmathclamp

CssMathClamp(CssNumberish, CssNumberish, CssNumberish)

CssMathValue.cs

https://drafts.css-houdini.org/css-typed-om-1/#dom-cssmathclamp-cssmathclamp

public CssMathClamp(CssNumberish lower, CssNumberish value, CssNumberish upper)

Properties

NameDescription
LowerGets the lower bound (the minimum) of the clamp() expression.
UpperGets the upper bound (the maximum) of the clamp() expression.
ValueGets the preferred value of the clamp() expression.

Gets the lower bound (the minimum) of the clamp() expression.

public CssNumericValue Lower { get; }

Gets the upper bound (the maximum) of the clamp() expression.

public CssNumericValue Upper { get; }

Gets the preferred value of the clamp() expression.

public CssNumericValue Value { get; }