Back to Content

CSSTransformComponent: is2D property

files/en-us/web/api/csstransformcomponent/is2d/index.md

latest357 B
Original Source

{{APIRef("CSS Typed OM")}}

The is2D read-only property of the {{domxref("CSSTransformComponent")}} interface indicates where the transform is 2D or 3D.

Value

A boolean. True indicating the transform is a 2D transform, false if it is a 3D transform.

Examples

To Do

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}