![]() |
VOOZH | about |
Semantic UI is the open-source framework that used CSS and jQuery to make our websites look beautiful and responsive. It has predefined classes like bootstrap for use to make our website more interactive. It has some pre-built semantic components and we can use these components to create a responsive website.
Semantic-UI Grid is used to harmonize the negative space in our webpage layout. The Varying Grid facilitates the alignment of the content either horizontal or vertical, along with styling with different colors variations in the grid. It has 5 types of Varying Grids, which are Nesting Grids, Colored, Automatic Column Count, Centering Content, and Significant Word Order.
In this article, we will discuss all the varying grid types in Semantic-UI, along with their implementations.
Semantic-UI Varying Grid:
Syntax:
<div class="Varying-Grid-Types"> ... </div>
Example 1: The following example demonstrates the Semantic-UI Varying Grids by specifying the nested colored grids.
Output:
Example 2: The following code demonstrates the Semantic-UI Varying Grid Significant Word Order using left floated, right floated, left-aligned, and right-aligned classes.
Output:
Reference: https://semantic-ui.com/collections/grid.html#nesting-grids