I'm trying to replicate sucking effect in ios using css3 -webkit-transform:matrix3d()
property.
However, I can't manage the curved edges like in the picture. The closest solution by myself is the following:
-webkit-transform: matrix3d(0.85, 0.0678, 0, 0, 2.37, 0.85, -1.36, -0.0019, 0, 0, -1.53, -3.73, 0, 0, 0.34, 1);
Here is the jsfiddle result.
How can I do the transformation like in the picture. Note that how right and left edges are curved.