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.
Primer CSS offers Truncate which is used with text that reaches a length that is larger than the existing container, shorten with ellipses. Primer CSS Truncate Custom Max Widths is used to define the custom width of any element that it takes, even if there is sufficient space available. In this article, we will discuss Primer CSS Custom max widths.
Primer CSS Truncate Custom Max Widths Classes:
Truncate-text: This class is used to define a truncated text.
Truncate-text–expandable: This class is used to expand the truncated text to the complete when hover or focus state is applied.
Please Login to comment...