Open In App

Blaze UI Container sizes

Blaze UI is a framework-free open source UI toolkit that uses JavaScript components to build great user interfaces. It is the same as a bootstrap for use and has excellent different elements to use to make your website look more amazing. This framework allows us to use various of its styles and properties to make a website more user-friendly.

Blaze UI provides Containers to add data with responsive stylings. Containers provide media query screen width restrictions on the content. There are six sizes offered by the Blaze UI Containers, xsmall, small, medium, large, xlarge, and super. 



Containers are based on the following screen size variables:

Blaze-UI Container Class:



Syntax:

<div class="o-container o-container-- ... ">...</div>

Example 1: The following code demonstrates the Blaze UI Container xsmall, and small size using provided classes.




<!DOCTYPE html>
<html>
<head>
    <title>Hello World!</title>
    <script type="module" src=
    </script>
    <script nomodule="" src=
    </script>
    <link rel="stylesheet" href=
    <style>
        .Logo {
            color: green;
        }
    </style>
</head>
<body>
    <h1 class="Logo">
        GeeksforGeeks
    </h1>
    <h2>
        Blaze UI xsmall Container
    </h2>
    <br />
    <div class="o-container o-container--xsmall">
        In today's digital world, when there are thousands 
        of online platforms (maybe more than that!) available 
        over the web, it becomes quite difficult for students 
        to opt for a quality, relevant and reliable platform 
        for themselves. Meanwhile, as Computer Science is a 
        very vast field hence students are required to find 
        an appropriate platform that can fulfill all their 
        needs such as - Tutorials and Courses, Placement 
        Preparation, Interview Experiences, and various others.
        And with the same concern, GeeksforGeeks comes in 
        the picture - a one-stop destination for all
        Computer Science students!!
    </div>
    <h2>
        Blaze UI small Container
    </h2>
    <br />
    <div class="o-container o-container--small">
        In today's digital world, when there are thousands 
        of online platforms (maybe more than that!) available 
        over the web, it becomes quite difficult for students 
        to opt for a quality relevant and reliable platform 
        for themselves. Meanwhile, as Computer Science is a 
        very vast field hence students are required to find 
        an appropriate platform that can fulfill all their
        needs such as - Tutorials and Courses, Placement 
        Preparation, Interview Experiences, and various others.
        And with the same concern, GeeksforGeeks comes in 
        the picture - a one-stop destination for all
        Computer Science students!!
    </div>
</body>
</html>

Output:

 

Example 2: The following code demonstrates the Blaze UI Container medium, and large size using provided classes.




<!DOCTYPE html>
<html>
<head>
    <title>Hello World!</title>
    <script type="module" src=
    </script>
    <script nomodule="" src=
    </script>
    <link rel="stylesheet" href=
    <style>
        .Logo {
            color: green;
        }
    </style>
</head>
<body>
    <h1 class="Logo">
        GeeksforGeeks
    </h1>
    <h2>
        Blaze UI medium Container
    </h2>
    <br />
    <div class="o-container o-container--medium">
        In today's digital world, when there are thousands 
        of online platforms (maybe more than that!) available 
        over the web, it becomes quite difficult for students 
        to opt for a quality, relevant and reliable platform 
        for themselves. Meanwhile, as Computer Science is a 
        very vast field hence students are required to find 
        an appropriate platform that can fulfill all their
        needs such as - Tutorials and Courses, Placement 
        Preparation, Interview Experiences, and various others.
        And with the same concern, GeeksforGeeks comes in 
        the picture - a one-stop destination for all
        Computer Science students!!
    </div>
    <h2>
        Blaze UI large Container
    </h2>
    <br />
    <div class="o-container o-container--large">
        In today's digital world, when there are thousands 
        of online platforms (maybe more than that!) available 
        over the web, it becomes quite difficult for students 
        to opt for a quality, relevant and reliable platform 
        for themselves. Meanwhile, as Computer Science is a 
        very vast field hence students are required to find 
        an appropriate platform that can fulfill all their
        needs such as - Tutorials and Courses, Placement 
        Preparation, Interview Experiences, and various others.
        And with the same concern, GeeksforGeeks comes in 
        the picture - a one-stop destination for all
        Computer Science students!!
    </div>
</body>
</html>

Output: 

 

Example 3: The following code demonstrates the Blaze UI Container xlarge and super size using provided classes.




<!DOCTYPE html>
<html>
<head>
    <title>Hello World!</title>
    <script type="module" src=
    </script>
    <script nomodule="" src=
    </script>
    <link rel="stylesheet" href=
    <style>
        .Logo {
            color: green;
        }
    </style>
</head>
<body>
    <h1 class="Logo">
        GeeksforGeeks
    </h1>
    <h2>
        Blaze UI xlarge Container -78em
    </h2>
    <br />
    <div class="o-container o-container--xlarge">
        In today's digital world, when there are thousands 
        of online platforms (maybe more than that!) available 
        over the web, it becomes quite difficult for students 
        to opt for a quality, relevant and reliable platform 
        for themselves. Meanwhile, as Computer Science is a 
        very vast field hence students are required to find 
        an appropriate platform that can fulfill all their 
        needs such as - Tutorials and Courses, Placement 
        Preparation, Interview Experiences, and various others.
        And with the same concern, GeeksforGeeks comes in 
        the picture - a one-stop destination for all
        Computer Science students!!
    </div>
    <h2>
        Blaze UI super Container -116em
    </h2>
    <br />
    <div class="o-container o-container--super">
        In today's digital world, when there are thousands 
        of online platforms (maybe more than that!) available 
        over the web, it becomes quite difficult for students 
        to opt for a quality, relevant and reliable platform 
        for themselves. Meanwhile, as Computer Science is a 
        very vast field hence students are required to find 
        an appropriate platform that can fulfill all their
        needs such as - Tutorials and Courses, Placement 
        Preparation, Interview Experiences, and various others.
        And with the same concern, GeeksforGeeks comes in 
        the picture - a one-stop destination for all
        Computer Science students!!
    </div>
</body>
</html>

Output:

 

Reference: https://www.blazeui.com/objects/containers/


Article Tags :