<div class="hgm-alert alert-collapsed" role="alert" data-collapse-logic="open-default" data-bg-color="66931E" data-close-bg-color="ff8f66" data-close-color="999999" data-strip-bg-color="844FC4" data-strip-color="E7E7E7">
<div class="hgm-alert__container">
<button type="button" class="hgm-button hgm-alert__close" aria-label="Close">Close<i class="fas fa-times right"></i></button>
<div class="row hgm-alert__row">
<div class="col">
<h4>Example alert - open by default</h4>
<p>Customizable appearance options</p>
<a href="#" class="hgm-button">Action button <i class="fas fa-chevron-right right"></i></a>
</div>
</div><!-- &__row -->
</div><!-- &__container -->
<div class="hgm-alert__strip" tabindex="0" role="button" aria-pressed="false">
Custom message shown here
</div><!-- &__strip -->
</div><!-- hgm-alert -->
<div class="hgm-alert alert-collapsed" role="alert" data-collapse-logic="open-default" data-bg-color="66931E" data-close-bg-color="ff8f66" data-close-color="999999" data-strip-bg-color="844FC4" data-strip-color="E7E7E7">
<div class="hgm-alert__container">
<button type="button" class="hgm-button hgm-alert__close" aria-label="Close">Close<i class="fas fa-times right"></i></button>
<div class="row hgm-alert__row">
<div class="col">
<h4>Example alert - open by default</h4>
<p>Customizable appearance options</p>
<a href="#" class="hgm-button">Action button <i class="fas fa-chevron-right right"></i></a>
</div>
</div><!-- &__row -->
</div><!-- &__container -->
<div class="hgm-alert__strip" tabindex="0" role="button" aria-pressed="false">
Custom message shown here
</div><!-- &__strip -->
</div><!-- hgm-alert -->
/* No context defined. */
Collapse logic is summarized below; please note the preferred order of the flow (accessible within the CMS setup):
Use data attributes directly on the site alert to change the visual behavior; the following data attributes are currently in use: