« BootstrapComponents/Alert » : différence entre les versions
De Semantic MediaWiki - Sandbox
(Page créée avec « → Back to [[{{BASEPAGENAME}}|Bootstrap Components overview]] == Description == Provides contextual feedback messages for typical user actions. For available options to... ») |
Aucun résumé des modifications |
||
(Une version intermédiaire par le même utilisateur non affichée) | |||
Ligne 4 : | Ligne 4 : | ||
Provides contextual feedback messages for typical user actions. | Provides contextual feedback messages for typical user actions. | ||
For available options to this component, | For available options to this component, please see the [https://github.com/oetterer/BootstrapComponents/blob/master/docs/components.md#alert documentation on github]. | ||
== | == Examples == | ||
<syntaxhighlight lang="html"> | <syntaxhighlight lang="html"> | ||
<bootstrap_alert color=" | <bootstrap_alert color="success" dismissible="fade">Alert message text with color ''success''</bootstrap_alert> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<bootstrap_alert color="warning" dismissible="fade">Alert message text</bootstrap_alert> | <bootstrap_alert color="success" dismissible="fade">Alert message text with color ''success''</bootstrap_alert> | ||
<syntaxhighlight lang="html"> | |||
<bootstrap_alert color="info" dismissible="fade">Alert message text with color ''info''</bootstrap_alert> | |||
</syntaxhighlight> | |||
<bootstrap_alert color="info" dismissible="fade">Alert message text with color ''info''</bootstrap_alert> | |||
<syntaxhighlight lang="html"> | |||
<bootstrap_alert color="warning" dismissible="fade">Alert message text with color ''warning''</bootstrap_alert> | |||
</syntaxhighlight> | |||
<bootstrap_alert color="warning" dismissible="fade">Alert message text with color ''warning''</bootstrap_alert> | |||
<syntaxhighlight lang="html"> | |||
<bootstrap_alert color="danger" dismissible="fade">Alert message text with color ''danger''</bootstrap_alert> | |||
</syntaxhighlight> | |||
<bootstrap_alert color="danger" dismissible="fade">Alert message text with color ''danger''</bootstrap_alert> | |||
[[Category:Bootstrap Components examples]] | [[Category:Bootstrap Components examples]] |
Dernière version du 13 février 2018 à 11:03
→ Back to Bootstrap Components overview
Description
Provides contextual feedback messages for typical user actions.
For available options to this component, please see the documentation on github.
Examples
<bootstrap_alert color="success" dismissible="fade">Alert message text with color ''success''</bootstrap_alert>
Alert message text with color success
<bootstrap_alert color="info" dismissible="fade">Alert message text with color ''info''</bootstrap_alert>
Alert message text with color info
<bootstrap_alert color="warning" dismissible="fade">Alert message text with color ''warning''</bootstrap_alert>
Alert message text with color warning
<bootstrap_alert color="danger" dismissible="fade">Alert message text with color ''danger''</bootstrap_alert>
Alert message text with color danger