![]() |
VOOZH | about |
Blaze UI is a free, open-source UI toolkit to build a great website. It provides you with various features like responsiveness, custom components, etc. In this article, we'll see how to nest two or more containers in blaze UI. Nesting means adding one container inside another container. The containers provide the media query screen width restrictions on our content.
Pre-requisite: Blaze UI Containers
Blaze UI Containers Nesting classes: For nesting containers, no specific class is used for containers rather we add one container class inside another container class using container classes. There are different container classes and sizes which are also discussed below:
Container Sizes classes:
Syntax:
<div class="o-container o-container--xlarge"> <div class="o-container o-container--medium"> ... </div> </div>
Example 1: Below example demonstrates the Nesting of two containers.
Output:
Example 2: Below example demonstrates the Nesting of three containers.
Output:
Reference: https://www.blazeui.com/objects/containers/