Add an offset to a layout group

I have a vertical layout group with two elements as a child.
I want to have one element outside of its container.

6093114--661986--upload_2020-7-15_16-27-54.png
On this case the Element 1 is outside of the container and the user can’t see it.

I also want to animate both elements when some event occurs in such a way that the element from the top moves to the place of the bottom one, and the bottom to move below outside of the boundaries of the container. Also I need the container to adapt its width to the size of the element that will be displayed.

Messing with paddings I can come up to some workaround, but I can’t animate them, I don’t know why it doesn’t let me :frowning:

Something like an offset for this elements would fit perfectly for this feature, but I can’t find a way for doing that.
Also something like max width would help a lot.

How can I achieve this with the tools that Unity currently has?

I’ve been able to achieve it, just messing with the heights of the elements