= codeBlender "alert", "molecule", { text: "Well done! You successfully read this important alert message." }
<div class='alert alert-success'>
Well done! You successfully read this important alert message.
</div>
= codeBlender "alert", "molecule", { context: "info", text: "Heads up! This alert needs your attention, but it's not super important." }
<div class='alert alert-info'>
Heads up! This alert needs your attention, but it's not super important.
</div>
= codeBlender "alert", "molecule", { context: "warning", text: "Warning! Better check yourself, you're not looking too good." }
<div class='alert alert-warning'>
Warning! Better check yourself, you're not looking too good.
</div>
= codeBlender "alert", "molecule", { context: "danger", text: "Oh snap! Change a few things up and try submitting again." }
<div class='alert alert-danger'>
Oh snap! Change a few things up and try submitting again.
</div>
= codeBlender "alert", "molecule", { context: "warning", dismiss: true, text: "Warning! Better check yourself, you're not looking too good." }
<div class='alert alert-warning'>
<button aria-label='Close' class='btn btn-default close' data-dismiss='alert' type='button'>
×
</button>
Warning! Better check yourself, you're not looking too good.
</div>
= codeBlender "alert", "molecule", { context: "success", text: "Well done! You successfully <a href='#' class='alert-link'>Link</a> read this important alert message." }
<div class='alert alert-success'>
Well done! You successfully <a href='#' class='alert-link'>Link</a> read this important alert message.
</div>
Title | URL |
---|---|
Bootstrap Alerts | http://getbootstrap.com/components/#alerts |
Task | Date |
---|---|
Sort out the links in the Alerts using the alert-link class |