How will you create a Bootstrap Dismissal Alert?
Answer / Pranav Kumar Ojha
To create a dismissible alert with Bootstrap, use the .alert-dismissible class and add the close button (<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>). Here's an example:nn```htmln<div class="alert alert-warning alert-dismissible fade show" role="alert">n <strong>Holy guacamole!</strong> You should check in on some of those fields below.<br>n <button type="button" class="close" data-dismiss="alert" aria-label="Close">n <span aria-hidden="true">×</span>n </button>n</div>n```
| Is This Answer Correct ? | 0 Yes | 0 No |
Show a basic grid structure in Bootstrap?
What is bootstrap caraousel?
Is bootstrap open source?
What are responsive utility classes in bootstrap?
What are badges in bootstrap?
What is bootstrap 4 aligning images?
What are the steps to create basic or vertical forms?
Tell us what is class loaders in bootstrap?
What is a bootstrap 4 card?
What is affix plugin?
What dependencies does Bootstrap require for it to work properly?
What are glyphicons? How to use them?