Différences entre les versions de « BootstrapComponents/Alert »

De Semantic MediaWiki - Sandbox
m
 
Ligne 6 : Ligne 6 :
 
For available options to this component, please 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.