W3cubDocs

/Web APIs

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 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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
CSSSkew 66 79 No No 53 16.4 66 66 No 47 16.4 9.0

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/CSSSkew/CSSSkew