Examples are shown on the site
I tried to make this modular as possible. You define: The parent element. The children elements (The stacking boxes). How many children elements fit the parent element. The code does NOT automatically calculate how many elements fit in the parent element. I made it so, because I want you guys to have most design freedom (Margin, Border, Padding, Etc, Etc of the children elements).