This repository contains the markup for popsockets content assets.
banner-carousel
banner-carousel-full-width
banner-image
banner-image-full-width
banner-video
banner-video-full-width
card-deck-2
card-deck-3
card-deck-4
split-banner-carousel-text
split-banner-text-image
Certain classes can be applied to the banner to change positioning and text colors. Simply add the following classes to any div that contains the banner class to apply the desired styles.
text-dark
text-light
text-top-left
text-top-middle
text-top-right
text-middle-right
text-bottom-right
text-bottom-middle
text-bottom-left
text-middle-left
text-middle-middle
Example:
<div class="banner banner-image banner-full-width text-dark text-bottom-left">
<a href="https://popsockets.com/popmounts?lang=en_US">
<picture>
<source media="(max-width: 768px)"
srcset="https://via.placeholder.com/720x960" />
<source media="(min-width: 769px)"
srcset="https://via.placeholder.com/1130x636" />
<img alt="Image alt text" class="lazyload"
src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
data-src="https://via.placeholder.com/1130x636"
style="width: 100%" />
</picture>
</a>
<div class="container">
<div class="card-img-overlay text-overlay ">
<a class="home-main-overlay" href="https://popsockets.com/popmounts?lang=en_US">
<h1><span id="home-main-top-text">Header</span></h1>
<h4>Sub header</h4>
<btn class="btn btn-primary">Button Text</btn>
</a>
</div>
</div>
</div>