CSSSkew: CSSSkew() constructor
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 theCSSSkew
object to be constructed. This must be aCSSNumericValue
. ay
-
A value for the
ay
(y-axis) angle of theCSSSkew
object to be constructed. This must be aCSSNumericValue
.
Examples
To do
Specifications
Specification |
---|
CSS Typed OM Level 1 # dom-cssskew-cssskew |
Browser compatibility
BCD tables only load in the browser