CSS transform properties.


 SkewX transform property:

The next function of the transform property is skewX which skews the selected element along its X (horizontal) axis by a given degree.

The following code skews the paragraph element by -32 degrees along the X-axis.

p {
  transform: skewX(-32deg);
}

The skewY property:

Given that the skewY()  function skews the selected element along the X-axis by a given degree, it is no surprise that the skewY()  property skews an element along the Y (vertical) axis.


No comments:

Post a Comment