![]() |
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 offers various progress bars such as large, small, and inline. In this article, we will discuss small progress. The small progress bar is a little smaller than the default progress bar.
Primer CSS Small Progress Class:
Syntax:
<span class="Progress Progress--small"> <span class="Progress-item color-bg-color-name-emphasis" > ... </span> </span>
Note: color-name can be primary, success, alert, warning, etc.
Example 1: This example demonstrates the use of the Primer CSS Small progress using Progress--small and color-bg-success-emphasis classes.
Output:
Example 2: This is another example that demonstrates the use of the Primer CSS Small progress using Progress--small and color-bg-danger-emphasis classes.
Output:
Reference: https://primer.style/#small-progress