bootstrap alerts width code example
Example: change size of alert bootstrap
In Bootstrap (v4 and v5), use this width modifier (w-25, w-50, w-75):
<div class="alert alert-danger w-50" role="alert">
Here is some text!
</div>
In Bootstrap (v4 and v5), use this width modifier (w-25, w-50, w-75):
<div class="alert alert-danger w-50" role="alert">
Here is some text!
</div>