This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

skewX()

Summary

Defines a 2D skew transformation along the X-axis.

Examples

The following code snippet is an example of the skewX function in use as applied to a square blue div element.

div {
  transform: skewX(25deg);
}

Syntax

skewX ( <angle> )

Parameters

angle
The angle by which the element is skewed along the x-axis. This value is expressed as a number followed by a supported angle unit.

Related specifications

CSS Transforms Module Level 3
Working Draft

See also

Related pages

Attributions