CSSSkew: CSSSkew() constructor
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
The CSSSkew() constructor creates a new
CSSSkew object which represents the
skew() value
of the individual transform property in CSS.
Syntax
js
new CSSSkew(ax, ay)
Parameters
ax-
A value for the
ax(x-axis) angle of theCSSSkewobject to be constructed. This must be aCSSNumericValue. ay-
A value for the
ay(y-axis) angle of theCSSSkewobject to be constructed. This must be aCSSNumericValue.
Examples
To do
Specifications
| Specification |
|---|
| CSS Typed OM Level 1> # dom-cssskew-cssskew> |
Browser compatibility
Loading…