Primer CSS Grid Offset Columns
Primer CSS is a free open-source CSS framework that is built upon systems that create the foundation of the basic style elements such as spacing, typography, and color. This systematic method makes sure our patterns are steady and interoperable with every other. Its approach to CSS is influenced by Object-Oriented CSS principles, functional CSS, and BEM architecture. It is highly reusable and flexible. It is created with GitHub’s design system.
Primer CSS Grid Offset Columns are used to push the div to X columns using the offset classes. We can offset our element to any number of columns. In this article, we will discuss Primer CSS Grid Offset Columns.
Primer CSS Grid Offset Columns Classes:
- offset-*: The classes vary from 0 to 12 to offset the columns.
<div class="clearfix"> <div class="offset-* col-3 border p-3"> ... </div> </div>
Example 1: The following example demonstrates the Primer CSS Grid Offset Columns.
Example 2: The following example demonstrates the Primer CSS Grid Offset Columns.
Please Login to comment...