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:
- $screen-width-xsmall: In this, the screen width will be 20em;
- $screen-width-small: In this, the screen width will be 30em;
- $screen-width-medium: In this, the screen width will be 48em;
- $screen-width-large: In this, the screen width will be 64em;
- $screen-width-xlarge: In this, the screen width will be 78em;
- $screen-width-super: In this, the screen width will be 116em;
Blaze-UI Container Class:
- o-container: This class is used to add Blaze UI Container.
- o-container--xsmall: This class is used to add a container with a width of 20em.
- o-container--small: This class is used to add a container with a width of 30em.
- o-container--medium: This class is used to add a container with a width of 48em.
- o-container--large: This class is used to add a container with a width of 64em.
- o-container--xlarge: This class is used to add a container with a width of 78em.
- o-container--super: This class is used to add a container with a width of 116em.
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.
HTML
<!DOCTYPE html>
<html>
<head>
<title>Hello World!</title>
<script type="module" src=
"https://unpkg.com/@blaze/[email protected]/dist/blaze-atoms/blaze-atoms.esm.js">
</script>
<script nomodule="" src=
"https://unpkg.com/@blaze/[email protected]/dist/blaze-atoms/blaze-atoms.js">
</script>
<link rel="stylesheet" href=
"https://unpkg.com/@blaze/[email protected]/dist/blaze/blaze.css">
<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.
HTML
<!DOCTYPE html>
<html>
<head>
<title>Hello World!</title>
<script type="module" src=
"https://unpkg.com/@blaze/[email protected]/dist/blaze-atoms/blaze-atoms.esm.js">
</script>
<script nomodule="" src=
"https://unpkg.com/@blaze/[email protected]/dist/blaze-atoms/blaze-atoms.js">
</script>
<link rel="stylesheet" href=
"https://unpkg.com/@blaze/[email protected]/dist/blaze/blaze.css">
<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.
HTML
<!DOCTYPE html>
<html>
<head>
<title>Hello World!</title>
<script type="module" src=
"https://unpkg.com/@blaze/[email protected]/dist/blaze-atoms/blaze-atoms.esm.js">
</script>
<script nomodule="" src=
"https://unpkg.com/@blaze/[email protected]/dist/blaze-atoms/blaze-atoms.js">
</script>
<link rel="stylesheet" href=
"https://unpkg.com/@blaze/[email protected]/dist/blaze/blaze.css">
<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/
Similar Reads
Non-linear Components
In electrical circuits, Non-linear Components are electronic devices that need an external power source to operate actively. Non-Linear Components are those that are changed with respect to the voltage and current. Elements that do not follow ohm's law are called Non-linear Components. Non-linear Co
11 min read
JavaScript Tutorial
JavaScript is a programming language used to create dynamic content for websites. It is a lightweight, cross-platform, and single-threaded programming language. JavaScript is an interpreted language that executes code line by line, providing more flexibility.JavaScript on Client Side : On client sid
11 min read
Web Development
Web development is the process of creating, building, and maintaining websites and web applications. It involves everything from web design to programming and database management. Web development is generally divided into three core areas: Frontend Development, Backend Development, and Full Stack De
5 min read
Class Diagram | Unified Modeling Language (UML)
A UML class diagram is a visual tool that represents the structure of a system by showing its classes, attributes, methods, and the relationships between them. It helps everyone involved in a projectâlike developers and designersâunderstand how the system is organized and how its components interact
12 min read
Spring Boot Tutorial
Spring Boot is a Java framework that makes it easier to create and run Java applications. It simplifies the configuration and setup process, allowing developers to focus more on writing code for their applications. This Spring Boot Tutorial is a comprehensive guide that covers both basic and advance
10 min read
React Interview Questions and Answers
React is an efficient, flexible, and open-source JavaScript library that allows developers to create simple, fast, and scalable web applications. Jordan Walke, a software engineer who was working for Facebook, created React. Developers with a JavaScript background can easily develop web applications
15+ min read
HTML Tutorial
HTML stands for HyperText Markup Language. It is the standard language used to create and structure content on the web. It tells the web browser how to display text, links, images, and other forms of multimedia on a webpage. HTML sets up the basic structure of a website, and then CSS and JavaScript
10 min read
Backpropagation in Neural Network
Backpropagation is also known as "Backward Propagation of Errors" and it is a method used to train neural network . Its goal is to reduce the difference between the modelâs predicted output and the actual output by adjusting the weights and biases in the network. In this article we will explore what
10 min read
JavaScript Interview Questions and Answers
JavaScript (JS) is the most popular lightweight, scripting, and interpreted programming language. JavaScript is well-known as a scripting language for web pages, mobile apps, web servers, and many other platforms. Both front-end and back-end developers need to have a strong command of JavaScript, as
15+ min read
AVL Tree Data Structure
An AVL tree defined as a self-balancing Binary Search Tree (BST) where the difference between heights of left and right subtrees for any node cannot be more than one. The absolute difference between the heights of the left subtree and the right subtree for any node is known as the balance factor of
4 min read