Saturday, 7 September 2013

Why css rotate messes up child's skew

Why css rotate messes up child's skew

take a look this is div without parent being rotated only skew and then
child skewed back.
child(redbox): skewed:-40deg
parent: skewed: 40deg
how it looks...

No if i only just rotate parent why does the red box gets messed up...
child(redbox): skewed:-40deg
parent: skewed: 40deg rotated: 40deg.

so whyyyy does just rotating parent messes up the whole thing so confused.
http://codepen.io/anon/pen/IyBvt

No comments:

Post a Comment