![]() |
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.
Toast is a kind of alert message or push notification, generally used to notify or display short information or time-sensitive feedback to the users.
Primer CSS Toasts:
Syntax:
<div class="Primer-CSS-Toasts">
...
<div>
Example 1: The below example demonstrates the variations of toast in Primer CSS.
Output:
Example 2: The below example demonstrates the toast with a link & the close button in Primer CSS.
Output: