![]() |
VOOZH | about |
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 Column Widths are used to specify the percentage-based columns widths to any block and inline element.
Primer CSS Grid Column Widths Classes:
Syntax:
<div> <div class="col-4 float-right"> ... </div> <p> .... </p> </div>
Example 1: The following example demonstrates the Primer CSS Grid Column Widths.
Output:
Example 2: The following example demonstrates the Primer CSS Grid Column Widths using images.
Output:
Reference: https://primer.style/product/css-utilities/#column-widths