OL Learn

Scale transform gives strange results


I tried to use the scale transform to change the aspect ratio of an element e.g. transform: scale(0.5,1);
Within the preview pane of Designer, the transform has no effect.
I then did a html preview and it worked fine.
But when I did a print preview, it had gone again.
Is this expected behaviour? And how do I get it to work in a print context?
The rotate transform works fine in all 3 cases.


I found the cause of the problem.
My style=“transform: scale(0.5,1);” had slipped into a <span> rather than the <div> where I thought it was.


Glad you found it. Couldn’t reproduce it on my end.