![]() |
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.
The Alerts are alerts or flash messages to inform us about the status of the actions. The Alerts With Action Button is used to create the flash message with an action button.
Primer CSS Alerts With Action Button Class:
Syntax:
<div class="flash"> ..... <button type="submit" class="btn btn-sm flash-action"> .... </button> </div>
Example 1: This example demonstrates the use of the Primer CSS Alerts With Action Button.
Output:
Example 2: This example demonstrates the use of the Primer CSS Alerts With Action Button with the SVG icon.
Output:
Reference: https://primer.style/#with-action-button