Modèle:Alert

Aller à : navigation, rechercher
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 info, success, warning, danger
  • {{{2}}} - text in alert
  • {{{class}}} - HTML class
  • {{{style}}} - HTML style

Examples

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

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

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

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

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