Does EA create white space around animation when resized?
-
Hi,
I use a responsive WP theme called Modernize. When I watch the web site on a regular computer display my animation doesn’t produce any white space:
https://www.nordicgreen.se/bilder/image1.png
But when viewed on an IPad (and thus resized by the theme) there is a white space created:
https://www.nordicgreen.se/bilder/image2.png
Now, the reason I don’t think the problem is in the theme is that when I viewed the code produced by EA in Firebug I discovered this (code in bold):
<div id=”Stage_privatnydesign1_81″ style=”height: 283px; width: 640px; margin-top: -60px; position: relative; background-color: rgb(255, 255, 255); overflow: hidden; -webkit-transform-origin: 0px 0px; -webkit-transform: scale(0.79375); ” class=”EDGE-60387019″> </div>
If I change the webkit-tranform-scale value to “1” the animation expands but gets clipped:
https://www.nordicgreen.se/bilder/image3.png
To me it seems that the animation scales inside some sort of container (div?) that doesn’t get scaled on the Y axis but only the X axis. Thus creating the white space.
If so, can this be fixed in some way to get rid of the extra space?
Regards
Johan
- The topic ‘Does EA create white space around animation when resized?’ is closed to new replies.