The notification is a simple colored block meant to draw the attention to the user about something. As such, it can
be used as a pinned notification in the corner of the viewport. That's why it supports the use of the
delete
element.
Notification
Bold notification blocks, to alert your users of something
Example
HTML
Colors #
The notification element is available in all the
different colors defined by the
$colors
Sass map.
Example
HTML
Example
HTML
Example
HTML
Example
HTML
Example
HTML
Example
HTML
Light colors #
is-light
modifier to
obtain the light version of the notification.
Example
HTML
Example
HTML
Example
HTML
Example
HTML
Example
HTML
Example
HTML
JavaScript example #
The Bulma package does not come with any JavaScript. Here is however an implementation example,
which sets the click
handler for Bulma delete
elements, anywhere on the page, in vanilla
JavaScript.
Sass and CSS variables #
Sass Variable
|
CSS Variable
|
Value
|
---|---|---|