The new AHA alert is fully responsive with modern looks and feel with accessibility features. The layout is using Bootstrap 4.5 with flex box.
<div class="alert alert-success alert-dismissible fade show" role="alert"> <strong>Congratulations!</strong> Form Submitted Successfully. <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="alert alert-danger alert-dismissible fade show" role="alert"> <strong>Sorry!</strong> Fill all the mandatory fields. <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div>