Perspective setting uses CSS perspective instead of transform pespective()


When setting a perspective in the transform tab, Cwicly currently uses the CSS perspective property on the block.

The problem is that CSS perspective has to be applied on the block’s container because it affects children elements.

Instead, transform’s perspective function should be used, since this applies to the block itself.

NOTE: Both settings are actually useful (sometimes we may need to design multiple elements displayed from the same perspective, so the perspective “container” rule is handy), but I think the most commonly used is the transform’s perspective.

In the below example, Cwicly’s perspective doesn’t work on the block, and I would need to set it on the parent, which is not very handy.
You can see it because the squares look flattent in height, but there is no perspective (top squares should be smaller).

Instead, I use the transform perspective and it is OK.