---
title: CSSMathNegate()
slug: Web/API/CSSMathNegate/CSSMathNegate
tags:
  - API
  - CSS Typed Object Model API
  - CSSMathNegate
  - CSSNumericValue
  - Constructor
  - Experimental
  - Houdini
browser-compat: api.CSSMathNegate.CSSMathNegate
---
{{SeeCompatTable}}{{APIRef("CSS Typed Object Model API")}}

The **`CSSMathNegate()`** constructor creates a
new {{domxref("CSSMathNegate")}} object which negates the value passed into it.

## Syntax

```js
var CSSMathNegate = new CSSMathNegate(arg);
```

### Parameters

- arg
  - : A {{domxref('CSSNumericValue')}}.

## Examples

To do

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
