GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for CSSMathProduct: CSSMathProduct() constructor.

Developer library 6

CSSMathSum

` sum's original terms. 300 ## Specifications ## Browser compatibility ## See also - add() - sub() - toSum() - CSSMathValue.operator - CSSMathNegate - CSSMathProduct

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/CSSMathSum

CSSMathProduct

CSS Typed Object Model API The **`CSSMathProduct`** interface of the [CSS Typed Object Model API](/docs/Web/API/CSS_Object_Model) represents the product of two or more CSSNumericValue values — in cases where the result can't be represented as a single value. ## Constructor - CSSMathProduct() - : Creates a new `CSSMathProduct` object. ## Instance properties _Also inherits properties from its parent interface

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/CSSMathProduct

CSSMathProduct: values property

CSS Typed Object Model API The **`values`** read-only property of the CSSMathProduct interface returns a CSSNumericArray containing the CSSNumericValue objects being multiplied together. ## Value A CSSNumericArray. ## Examples ### Basic usage The following code creates a `CSSMathProduct` object and logs its `values` and length. ```js const product = new CSSMathProduct(CSS.px(10), CSS.percent(50)); console.log

CSSMathProduct: CSSMathProduct() constructor

CSS Typed Object Model API The **`CSSMathProduct()`** constructor creates a new CSSMathProduct object representing the product of the arguments passed into it. Numeric arguments are wrapped into CSSUnitValue objects with a unit of `"number"`. All arguments are stored as separate items in its values property. ## Syntax ```js-nolint new CSSMathProduct(arg1) new CSSMathProduct(arg1, arg2) new CSSMathProduct(arg1, ar

CSSMathNegate

onstruct a `CSSMathNegate` directly. It's produced by the internal negation step that sub() applies to its arguments before adding them: negating a CSSMathSum, CSSMathProduct, CSSMathMin, CSSMathMax, CSSMathClamp, or CSSMathInvert wraps it in a `CSSMathNegate`. Negating a plain CSSUnitValue (a length, percentage, etc.) instead flips the sign of its `value` directly, so subtracting simple values doesn't normally produ

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/CSSMathNegate

CSSMathValue

s from its parent interface, CSSNumericValue._ ## Interfaces based on CSSMathValue - CSSMathClamp - CSSMathInvert - CSSMathMax - CSSMathMin - CSSMathNegate - CSSMathProduct - CSSMathSum ## Examples ### `calc()` representations This example shows how the operator property identifies the operation represented by a calc() value's `CSSMathValue` subtype, including for a nested value. #### HTML ```html <div id="dem

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/CSSMathValue

JSON results · Services directory