HTML:
Code:
<! -- link to open -- > <a href="#js-whats-this" title="What's This?" id="js-open-whats-this">What's This?</a> <! -- Mfp Container Can be placed pretty much anywhere -- > <div id="js-whats-this" class="row mfp-hide whats-this"> <div class="column whole np"> <! -- insert content here -- > </div> </div>
Code:
.whats-this, .ocst-login, .forgot-password { background: #fff; max-width: 30rem; padding: 1rem; }
Code:
$('#js-open-whats-this').magnificPopup({ items: { src: $('#whats-this'), type: 'inline' } });
Leave a comment: