The Stack Layout component allows display blocks to stack on top of others in a easy way.
What has changed
Prior to this release, the only way to display blocks on top of others was to set each block's individual zIndex
value.
The
z-index
is a property in CSS that controls the vertical stacking order of elements that overlap.
Now, each child declared in the stack-layout
block will automatically receive a proportional value of zIndex
. Therefore, the block will control the position of elements that overlap.
Main advantages
Differently from other layout components, which only considers the component's width and length for its position, Stack Layout simplifies the layout construction process in 3D for elements that overlap.
What you need to do
Make sure your store has the stack-layout
installed.
:eyes: Do not forget to check out the app documentation for more details on its implementation.