Bootstrap CSS Classes

Bootstrap CSS class .toast-header

    <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
        <div class="toast-header">
        <h4>Title in toast header</h4>
        <strong class="me-auto">Bootstrap</strong>
        <small>11 mins ago</small>
        <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
        </div>
        <div class="toast-body">
        Hello, world! This is a toast message.
        </div>
    </div>

Preview

Are you tired of writing HTML by hand?

More Bootstrap CSS classes in Toast category

© 2024 Shuffle. All rights reserved.