Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Bootstrap Card Styles Outline</title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"></script> </head> <body> <div class="m-4"> <div class="row"> <div class="col-6"> <div class="card border-primary mb-4"> <div class="card-body text-primary"> <h5 class="card-title">Primary card title</h5> <p class="card-text">Some dummy text to make up the card's content. You can replace it anytime.</p> </div> </div> </div> <div class="col-6"> <div class="card border-secondary mb-4"> <div class="card-body text-secondary"> <h5 class="card-title">Secondary card title</h5> <p class="card-text">Some dummy text to make up the card's content. You can replace it anytime.</p> </div> </div> </div> <div class="col-6"> <div class="card border-success mb-4"> <div class="card-body text-success"> <h5 class="card-title">Success card title</h5> <p class="card-text">Some dummy text to make up the card's content. You can replace it anytime.</p> </div> </div> </div> <div class="col-6"> <div class="card border-danger mb-4"> <div class="card-body text-danger"> <h5 class="card-title">Danger card title</h5> <p class="card-text">Some dummy text to make up the card's content. You can replace it anytime.</p> </div> </div> </div> <div class="col-6"> <div class="card border-warning mb-4"> <div class="card-body text-warning"> <h5 class="card-title">Warning card title</h5> <p class="card-text">Some dummy text to make up the card's content. You can replace it anytime.</p> </div> </div> </div> <div class="col-6"> <div class="card border-info mb-4"> <div class="card-body text-info"> <h5 class="card-title">Info card title</h5> <p class="card-text">Some dummy text to make up the card's content. You can replace it anytime.</p> </div> </div> </div> <div class="col-6"> <div class="card border-dark mb-4"> <div class="card-body text-dark"> <h5 class="card-title">Dark card title</h5> <p class="card-text">Some dummy text to make up the card's content. You can replace it anytime.</p> </div> </div> </div> <div class="col-6"> <div class="card border-light mb-4"> <div class="card-body text-muted"> <h5 class="card-title">Light card title</h5> <p class="card-text">Some dummy text to make up the card's content. You can replace it anytime.</p> </div> </div> </div> </div> </div> </body> </html>