Template:Alert

Jump to: navigation, search
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 primary, secondary, success, danger, info, warning, light, dark
  • {{{2}}} - text in alert
  • {{{class}}} - HTML class
  • {{{style}}} - HTML style

Examples

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

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

{{Alert|secondary|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.

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

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