VOOZH about

URL: https://www.geeksforgeeks.org/css/primer-css-alerts-full-width-flash/

โ‡ฑ Primer CSS Alerts Full Width Flash - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Primer CSS Alerts Full Width Flash

Last Updated : 23 Jul, 2025

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.

Primer CSS Alerts are alerts or flash messages to inform us about the status of the actions. The Full Width Flash is used to create the full-width alert message without the border and border-radius.

Primer CSS Alerts Full Width Flash Class:

  • flash-full: This class is used to create a full-width alert message.

Syntax:

<div class="flash flash-full">
 Content
</div>

Example 1: This example demonstrates the use of the Primer CSS Alerts Full Width Flash.

Output:

๐Ÿ‘ Image
Primer CSS Alerts Full Width Flash

Example 2: This example demonstrates the use of the Primer CSS Alerts Full Width Flash with SVG icon.

Output:

๐Ÿ‘ Image
Primer CSS Alerts Full Width Flash

Reference: https://primer.style/#full-width-flash

Comment