| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link href="../../../dist/css/bootstrap.min.css" rel="stylesheet"> | |
| <title>Alert</title> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <h1>Alert <small>Bootstrap Visual Test</small></h1> | |
| <div class="alert theme-warning" role="alert"> | |
| <p><strong>Holy guacamole!</strong> You should check in on some of those fields below.</p> | |
| <button type="button" class="btn-close ms-auto" data-bs-dismiss="alert" aria-label="Close"></button> | |
| </div> | |
| <div class="alert theme-danger" role="alert"> | |
| <div> | |
| <p> | |
| <strong>Oh snap!</strong> <a href="#" class="alert-link">Change a few things up</a> and try submitting again. | |
| </p> | |
| <p> | |
| <button type="button" class="btn-solid theme-danger">Danger</button> | |
| <button type="button" class="btn-solid theme-secondary">Secondary</button> | |
| </p> | |
| </div> | |
| <button type="button" class="btn-close ms-auto" data-bs-dismiss="alert" aria-label="Close"></button> | |
| </div> | |
| <div class="alert theme-danger" role="alert"> | |
| <div> | |
| <p> | |
| <strong>Oh snap!</strong> <a href="#" class="alert-link">Change a few things up</a> and try submitting again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. | |
| </p> | |
| <p> | |
| <button type="button" class="btn-solid theme-danger">Take this action</button> | |
| <button type="button" class="btn-solid theme-primary">Or do this</button> | |
| </p> | |
| </div> | |
| <button type="button" class="btn-close ms-auto" data-bs-dismiss="alert" aria-label="Close"></button> | |
| </div> | |
| <div class="alert theme-warning" role="alert" style="--bs-alert-transition-duration: 5s;"> | |
| <p>This alert will take 5 seconds to fade out.</p> | |
| <button type="button" class="btn-close ms-auto" data-bs-dismiss="alert" aria-label="Close"></button> | |
| </div> | |
| <div class="alert theme-secondary alert-instant" role="alert"> | |
| <p>This alert closes at once, with no fade.</p> | |
| <button type="button" class="btn-close ms-auto" data-bs-dismiss="alert" aria-label="Close"></button> | |
| </div> | |
| </div> | |
| <script src="../../../dist/js/bootstrap.bundle.js" type="module"></script> | |
| </body> | |
| </html> |