CSSTransformComponent: is2D property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

The is2D read-only property of the 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

Specification
CSS Typed OM Level 1
# dom-csstransformcomponent-is2d

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
is2D

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
See implementation notes.