Alert extension example 1
From Bootstrap - Demo Wiki
| Component | ||
|---|---|---|
| Name | Alert | |
| Description | Basic alerts using the BootstrapComponents extension. | |
| Provider | BootstrapComponents | |
| Reference | BootstrapComponents Extension docs - alert | |
| Styling | For all possible color styles and corresponding examples, see colors. | |
Basic alert
- Code
<bootstrap_alert color="warning">This is an alert using the BoostrapComponents syntax!</bootstrap_alert>
- Result
This is an alert using the BoostrapComponents syntax!
Dismissible
- Code
<bootstrap_alert dismissible>Click on the <big>×</big> to close this alert.</bootstrap_alert>
- Result
Click on the × to close this alert.
Dismissible fading
- Code
<bootstrap_alert dismissible="fade">Click on the <big>×</big> to close this alert with a fade effect.</bootstrap_alert>
- Result
Click on the × to close this alert with a fade effect.
