Container

The Container component is one of the most important components in RocketCake: it is used to organize the layout of the website. It can be filled with text, images, and any element, even other elements. Like most other elements, its can adjust its border, background and edges to fit your design.



By default, it has a width of 100%, but this can be changed if you like to. It doesn't have a specific height, this is always set to 'auto', so that it adjusts itself to the height of its content, which is important for responsive websites. However, when you drag the height in the editor, it will set its MinHeight to the value you dragged it to in the editor. So if your container doesn't get smaller when you think it should to, simply set the MinHeight to a smaller value, or even 0, to disable this feature.



If you click into the container, you can start typing, and writing text in there. You can also put images into a container, and other containers, allowing to create complex layouts:



You can specify a container to have a background color/image/gradient, a border, and other properties.





Copyright © by Ambiera e.U.