CSSRotate

The CSSRotate interface of the CSS Typed Object Model API represents the rotate value of the individual transform property in CSS.

MDN Reference

Constructors

Link copied to clipboard
constructor(x: CSSNumberish, y: CSSNumberish, z: CSSNumberish, angle: CSSNumericValue)
constructor(angle: CSSNumericValue)

Properties

Link copied to clipboard

The angle property of the CSSRotate interface gets and sets the angle of rotation.

Link copied to clipboard

The is2D read-only property of the CSSTransformComponent interface indicates where the transform is 2D or 3D.

Link copied to clipboard

The x property of the CSSRotate interface gets and sets the abscissa or x-axis of the translating vector.

Link copied to clipboard

The y property of the CSSRotate interface gets and sets the ordinate or y-axis of the translating vector.

Link copied to clipboard

The z property of the CSSRotate interface representing the z-component of the translating vector.

Functions

Link copied to clipboard

The toMatrix() method of the CSSTransformComponent interface returns a DOMMatrix object.