![]() |
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.
The layout is used to display the content using particular style. For example - we can change the layout of document by using display, float, alignment, and other utilities.
The Display Layout is used to adjust the display property of an element. This layout represents how the components are going to be placed on the web page.
Used Classes:
Syntax:
<div class="d-*"> Content... </div>
Example 1:
Output:
Example 2:
Output:
Reference: https://primer.style/product/css-utilities/#display