Template:Alert

跳转至: 导航, 搜索
Insert some text...

Description

Alert component from Bootstrap 4.1

See also http://getbootstrap.com/docs/4.1/components/alert/

We add overflow: auto; style to avoid floating elements, like application cards and right aligned images.

Parameters

  • {{{1}}} - theme, one of value success, danger, info, warning
  • {{{2}}} - text in alert
  • {{{class}}} - HTML class
  • {{{style}}} - HTML style

Examples

{{Alert|I am a alert.}}
I am a alert.

{{Alert|success|I am a alert.}}
I am a alert.

{{Alert|danger|I am a alert.}}
I am a alert.

{{Alert|info|I am a alert.}}
I am a alert.

{{Alert|warning|I am a alert.}}
I am a alert.