CSS Transform Skew Method - Pulling or Pushing Element

Publié le: 25 août 2019
sur la chaîne: Knowledge Meetup
7,413
99

CSS Transform Skew Method.
Skew method pulls or pushes the angles of html element in the both directions horizontal and vertical.
Skew method is used with different functions like below
1:- skew(ax, ay)
2:- skew(ax)
3:- skewX(a)
4:- skewY(a)
skew(ax,ay) accepts two different angle parameters. ax holds the angle which represents horizontal direction. ay holds the angle which represents vertical direction. It ay angle value is not defined then it takes the default value zero. It makes skew effect in horizontal direction.

skew(ax) method accepts one angle value, that is for horizontal effect.

skewX(a) method is used to skew an element into horizontal direction. It is like grabbing two opposite angle of an element and then pulling them along x axis in opposite direction. If the angle value is positive, the upper left and bottom right corners of the rectangle are pulled. If the value is negative, the upper right and bottom left angles are pulled.

skewY(a) method pulls or pushes the element into vertical direction.
it is like grabbing two opposite angles of an element and then pulling them along the y-axis in opposite directions. If the angle value is positive, the upper left and bottom right corners of the rectangle are pulled. If the value is negative, the upper right and bottom left angles are pulled.


Sur cette page du site, vous pouvez voir la vidéo en ligne CSS Transform Skew Method - Pulling or Pushing Element durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Knowledge Meetup 25 août 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 7,413 fois et il a aimé 99 téléspectateurs. Bon visionnage!