![]() |
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 Header is used to make a header with vertically aligned items and horizontal spacing. Primer CSS Header-Item is used to create the header item using the Header-item class. In this article, we will discuss the Primer CSS Header-Item.
Primer CSS Header-Item Class:
Syntax:
<div class="Header"> <div class="Header-item"> ... </div> </div>
Example 1: The following code demonstrates the Primer CSS Header-Item with some items.
Output:
Example 2: The following code demonstrates the Primer CSS Header-Item with some items and a search box.
Output:
Reference: https://primer.style/#header-item