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
示例
HTML
Colors #
The notification element is available in all the different colors defined by the $colors
Sass map.
示例
HTML
示例
HTML
示例
HTML
示例
HTML
示例
HTML
示例
HTML
Light colors #
is-light
modifier to obtain the light version of the notification.
示例
HTML
示例
HTML
示例
HTML
示例
HTML
示例
HTML
示例
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.