---
title: CSSRotate.z
slug: Web/API/CSSRotate/z
tags:
  - API
  - CSS
  - CSS Typed Object Model API
  - CSSRotate
  - CSSTransformComponent
  - CSSTransformValue
  - Experimental
  - Houdini
  - Property
browser-compat: api.CSSRotate.z
---
{{APIRef("CSS Typed OM")}}{{SeeCompatTable}}{{draft}}

The **`z`** property of the
{{domxref("CSSRotate")}} interface representing the z-component of the translating
vector. A positive value moves the element towards the viewer, and a negative value
farther away.

## Syntax

```js
var rotateZ = CSSRotate.z;
```

### Value

A double integer or a {{domxref("CSSNumericValue")}}

## Examples

To Do

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
