Bootstrap CSS Classes

Bootstrap CSS class .stretched-link

    <div class="card" style="width: 20rem;">
        <img src="https://via.placeholder.com/800x450" class="card-img-top" alt="...">
        <div class="card-body">
        <h5 class="card-title">Card with stretched link</h5>
        <p class="card-text">Lorem ipsum dolor, sit amet consectetur adipisicing.</p>
        <a href="#" class="btn btn-primary stretched-link">Go somewhere</a>
        </div>
    </div>

Preview

Are you tired of writing HTML by hand?

More Bootstrap CSS classes in Cards category

© 2024 Shuffle. All rights reserved.