![]() |
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. It is highly reusable and flexible. It is created with GitHubโs design system.
Alerts are used to signify an important message to the user. It alerts the user related to some pending items or new features on the web page. Users are informed beforehand through alerts before they interact with the web page. There are different ways of defining an alert.
Syntax:
<div class="flash">
...
</div>
Example 1: This example demonstrates the different types of Primer CSS alerts using the flash class.
Output:
Example 2: This example demonstrates the different types of Primer CSS alerts using the flash class.
Output: