Bootstrap class: .min-vw-100

    <div>
        <div class="min-vw-100 bg-primary py-1"></div>
    </div>

Preview

Tips 💡

More in Bootstrap Sizing