« 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, plese see the [https://github.com/oetterer/BootstrapComponents/blob/master/docs/components.md#alert documentation on github].
For available options to this component, please see the [https://github.com/oetterer/BootstrapComponents/blob/master/docs/components.md#alert documentation on github].


== Example ==
== Examples ==
<syntaxhighlight lang="html">
<syntaxhighlight lang="html">
<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>
</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>
<bootstrap_alert color="info" dismissible="fade">Alert message text with color ''info''</bootstrap_alert>
<bootstrap_alert color="warning" dismissible="fade">Alert message text with color ''warning''</bootstrap_alert>
<bootstrap_alert color="danger" dismissible="fade">Alert message text with color ''danger''</bootstrap_alert>
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.