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.
Typography is an important utility to design the content of the website. The Type Scale utility is used to increase or decrease the size of the text. There are different classes provided for changing the text size.
Primer CSS Typography Type Scale Classes:
.f1 – .f6: Add the .f1 to .f6 class to the respective element to implement this utility.
Example 1: This example demonstrates the use of the Primer CSS Typography Type Scale using the .f1 to .f6 class.
Please Login to comment...