---
title: CSSScale
slug: Web/API/CSSScale
tags:
  - API
  - CSS Typed Object Model API
  - CSSScale
  - CSSTransformComponent
  - CSSTransformValue
  - Experimental
  - Houdini
  - Interface
browser-compat: api.CSSScale
---
{{SeeCompatTable}}{{APIRef("CSS Typed Object Model API")}}

The **`CSSScale`** interface of the {{domxref('CSS_Object_Model#css_typed_object_model','','',' ')}} represents the [scale()](</en-US/docs/Web/CSS/transform-function/scale()>) and [scale3d()](</en-US/docs/Web/CSS/transform-function/scale()>) values of the individual {{CSSXRef('transform')}} property in CSS. It inherits properties and methods from its parent {{domxref('CSSTransformValue')}}.

{{InheritanceDiagram}}

## Constructor

- {{domxref("CSSScale.CSSScale", "CSSScale()")}}
  - : Creates a new `CSSScale` object.

## Properties

- {{domxref('CSSScale.x','x')}}
  - : Returns or sets the x-axis value.
- {{domxref('CSSScale.y','y')}}
  - : Returns or sets the y-axis value.
- {{domxref('CSSScale.z','z')}}
  - : Returns or sets the z-axis value.

## Examples

To do.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
