PDA

View Full Version : Position bottom:0 and not top:0?



johandesilva
26 Jun 2012, 12:11 AM
Hi Arnebech and everyone

When shapes are drawn I presume position is set 'left' and 'top'.

This means we can easily animate the box expanding downwards and/or right.

But what if I want to expand the box upwards instead of downwards?

I presume I need to set position from top:0 to bottom:0 but cannot see the option in the GUI. :((

arnebech
26 Jun 2012, 7:44 AM
If you are dealing with transforms ( like scale and rotate) you can move the transform origin to the bottom of the object.

If you are changing the css dimensions of the object, you could use the custom css field at the bottom of the property panel and manually add the css rules like this


top:auto;
bottom:0px;

for the base state of the object