CSSSkew: CSSSkew() constructor

The CSSSkew() constructor creates a new CSSSkew object which represents the skew() value of the individual transform property in CSS.

Syntax

new CSSSkew(ax, ay)

Parameters

ax

A value for the ax (x-axis) angle of the CSSSkew object to be constructed. This must be a CSSNumericValue.

ay

A value for the ay (y-axis) angle of the CSSSkew object to be constructed. This must be a CSSNumericValue.

Examples

To do

Specifications

Specification
CSS Typed OM Level 1
# dom-cssskew-cssskew

Browser compatibility

BCD tables only load in the browser