11 banner Banners
A flexible banner module, supporting all breakpoints and very long text strings. Image, button and close button are optional.
Examples
Default styling
.hide-on-mobile
use this modifier to hide the banner on smaller breakpoints
.sumo-banner-warning
use this modifier to show a warning banner
.sumo-banner-no-close
use this modifier to hide the close button
Markup: ../../../../../styleguide/styleguide-examples/banner.njk
<div class="sumo-banner ">
<div class="content">
<img class="icon" src="static/FF_Master__icon.2da25dd18cf7e04e.svg" alt="" role="presentation" />
<p class="heading">
Get the account that protects you rather that profits off you.
</p>
<a href="#" class="sumo-button primary-button button-lg">
Sign Up
</a>
<button class="sumo-close-button close-button">
<img src="static/close-white.b28895459704928a.svg" />
</button>
</div>
</div>
Source:
../kitsune/sumo/static/sumo/scss/components/_banner.scss, line 4