rstacruz / jquery.transit

Super-smooth CSS3 transformations and transitions for jQuery
http://ricostacruz.com/jquery.transit
7.3k stars 864 forks source link

Add support for *skew*. #243

Open 0x10001 opened 6 years ago

0x10001 commented 6 years ago

This PR adds support for skew transform, in no more than 10 lines of code.

The transforms skewX and skewY were already supported in current version. However, skew cannot be replaced with them (perhaps there is a way to make such replacement but seems hard to do so).

We may try the following snippets, which lead to different styles: