Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Force transformed elements to affect document flow [closed]

I was wondering if there is any way to force transformed elements to affect document flow.

Consider an example like this: [1] http://jsfiddle.net/pmpcanzn/

scaled element

How can a scaled element interact with the position of the other elements and not overlaps them?

Element seems to maintain their origin space when a transformation (scale, translate) is being applied to them. Is there any hack to change that?

I'm not seeking for a solution without a transform.

like image 770
Vangel Tzo Avatar asked Dec 02 '25 07:12

Vangel Tzo


1 Answers

I'm afraid it is not possible.

As highlighted by Hashem Qolami, W3 transform rendering docs states:

Transformations do affect the visual rendering, but have no affect on the CSS layout other than affecting overflow.

like image 146
LcSalazar Avatar answered Dec 03 '25 21:12

LcSalazar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!