![]() |
VOOZH | about |
Primer CSS is a free open-source CSS framework that is built upon the GitHub design system to provide support to the broad spectrum of Github websites. It creates 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 a highly reusable model.
One such important and frequently used component in todayβs website is Timeline. It is used in several cases. Like in GitHub, it is used in the issues section where one user asks solution to a problem and another user helps him to solve it and the whole thing is depicted using a timeline.
In this article, we will learn about the timeline component in Primer CSS.
Primer CSS Timeline components:
Example 1: The following code demonstrates timeline with a different color badges.
Output:
Example 2: The following code demonstrates the condensed timeline.
Output: