![]() |
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 Button with Counts is used to add the counter with the small button. To add the counter, we will use btn-with-count, btn-sm, and social-count classes. In this article, we will discuss Primer CSS Button with Counts.
Primer CSS Button with Counts Classes:
Syntax:
<div class="clearfix"> <a class="btn btn-sm btn-with-count" href="#url" role="button"> ... </a> <a class="social-count" href="#url">...</a> </div>
Example 1: Below example demonstrates the use of Primer CSS Button with Counts.
Output:
Example 2: Below example demonstrates the use of Primer CSS Button with Counts.
Output:
Reference: https://primer.style/#button-with-counts