Skip to main content

Popup Email Subscription Widget Using CSS3 and HTML5 2019

OnClick Popup Email Subscription Widget Using CSS3 and HTML5
email subscription widget for blogger free

There are many Popup email subscription widgets for bloggers out there that are published by many blogs. The main reason behind designing this widget is performance. All widgets published before using jquery function and require a lot of loading time and page size thereby reducing performance. 

But this one widget is only based on CSS3 and HTML5. So, the loading is fast and won't mess with other widgets. It's also equipped with a simple flat design.

How to Add OnClick PopUp Email Subscription on Blog Enter Blogger Dashboard Open Template> Edit HTML Search Code]]> </ b: skin> to speed up search press CTRL + F) Put CSS below above]]> </ b: skin>

/***** OnClick PopUp Email Subscription Form CSS *****/
#popup-wrap .popup-button { background: #A1362A url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEig1UqMlRuClMF_ZZ5aSM5DSTQ_BmSO1q1Zd_GDdVv6rvjE2aeK4ttYXDQYqgAReLj7nL778NnAHRK3YK9tlz1eJTtykuhO1Ycg0KadGF2GUkbm5sF9HY9lbusQa8NI6Rl0JDkYSfp4J5E/s1600/envelop.png") no-repeat scroll center center; border-radius: 50%; bottom: 25px; cursor: pointer; height: 80px; left: 25px; position: fixed; width: 80px; z-index: 99999; }
#popup-wrap .popup-button:hover { background-color: #70261D; }

#popup-wrap .popup-bg { opacity: 0; visibility: hidden; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0,0,0, .8); transition: opacity .25s ease; z-index: 999999; }
#popup-wrap .popup-bg-close { position: absolute; top: 0; right: 0; bottom: 0; left: 0; cursor: pointer; }
#popup-wrap .popup-trigger { display: none; }
#popup-wrap .popup-trigger:checked + .popup-bg { opacity: 1; visibility: visible; }
#popup-wrap .popup-trigger:checked + .popup-bg .popup-form { top: 0; }

#popup-wrap .popup-form { transition: top .25s ease; position: absolute; top: -20%; right: 0; bottom: 0; left: 0; max-width: 400px; margin: auto; overflow: auto; padding: 2.5em; max-height: 280px; background: #cc6055; text-align: center; }
#popup-wrap .popup-inner { color: #fff; font-size: 15px; font-family: "Century Gothic", sans-serif; font-weight: bold; line-height: normal; }
#popup-wrap .popup-title { display: block; font-size: 2em; font-weight: normal; margin-bottom: 20px; }
#popup-wrap .popup-content { font-size: 16px; line-height: 26px; }
#popup-wrap .popup-footer { font-size: 75%; font-style: italic; }
#popup-wrap #mailbox,
#popup-wrap #subbutton { background: #A1362A; border: none; border-radius: 3px; box-sizing: border-box; color: #fff; font-family: "Century Gothic",sans-serif; font-size: 12px; font-weight: bold; line-height: 30px; padding: 10px 20px; width: 100%; }
#popup-wrap #mailbox { margin: 0 0 10px; text-transform: lowercase; }
#popup-wrap #subbutton { cursor: pointer; margin: 0; text-transform: uppercase; }
#popup-wrap #subbutton:hover { background: #70261D; }

#popup-wrap .popup-form-close { position: absolute; right: 1em; top: 1em; width: 1.1em; height: 1.1em; cursor: pointer; }
#popup-wrap .popup-form-close:after,
#popup-wrap .popup-form-close:before { content: ''; position: absolute; width: 5px; height: 1.5em; background: #A1362A; display: block; transform: rotate(45deg); left: 50%; margin: -3px 0 0 -1px; top: 0; }
#popup-wrap .popup-form-close:hover:after,
#popup-wrap .popup-form-close:hover:before { background: #70261D; }
#popup-wrap .popup-form-close:before { transform: rotate(-45deg); } 
Next look for the code </ body> 
Place the following HTML code on it

 <div id="popup-wrap">
  <!-- Subscribe Trigger -->
       <label class='popup-button' for='popup-trigger'></label>

  <!-- Subscribe Content -->
  <input class='popup-trigger' id='popup-trigger' type='checkbox'/>
  <div class='popup-bg'>
            <label class='popup-bg-close' for='popup-trigger' id='popup-close'></label>
            <div class='popup-form'>
                <label class='popup-form-close' for='popup-trigger' id='popup-close'></label>
                <div class='popup-inner'>
                    <!-- Opt-In Subscribe -->
                    <span class="popup-title">Subscribe Via Email</span>
                    <span class="popup-content">Subscribe to our newsletter to get the latest updates to your inbox. ;-)</span>
                    <br/><br/>
                    <form action='http://feedburner.google.com/fb/a/mailverify' id='subscribe' method='post' onsubmit='window.open(&apos;http://feedburner.google.com/fb/a/mailverify?uri=YOUR_SUBSCRIBE_ID&apos;, &apos;popupwindow&apos;, &apos;scrollbars=yes,width=550,height=520&apos;);return true' target='popupwindow'>
                        <input name='uri' type='hidden' value='YOUR_SUBSCRIBE_ID'/>
                        <input name='loc' type='hidden' value='en_US'/>
                        <input id='mailbox' name='email' onblur='if (this.value == &quot;&quot;) {this.value = &quot;Enter your email...&quot;;}' onfocus='if (this.value == &quot;Enter your email...&quot;) {this.value = &quot;&quot;}' required='' type='text' value='Enter your email...'/>
                        <input id='subbutton' title='' type='submit' value='Sign up'/>
                    </form>
                    <br />
                    <span class="popup-footer">Your email address is safe with us!</span>
                </div>
            </div><!-- .popup-form -->
  </div><!-- .popup-bg -->
    </div><!-- #popup-wrap -->

Search for ' YOUR_SUBSCRIBE_ID and replace it with your Feedburner username. 
Save and see the results

Comments

Popular posts from this blog

2 Ways to Auto Like Instagram without Login Only Use a Free Application

Auto Like Apk  - The auto like Instagram application is available in various types in the playstore, but not all auto-like applications in the playstore are proven to work 100% and some are only scam applications. If you previously liked to download the auto like Instagram application in PlayStore, it would be nice to change the application that you use to  auto like Instagram with the application  that I will share this time.  Why do I suggest you use the application that I want to share?  Because these 2 applications will never be found in the PlayStore and which of course this application is available for free and proven 100% works to  auto like Instagram  . Next 2 Lists 100% Auto Like Instagram Applications. Hublaagram Apk  is the latest auto-like application for Android that you can download for free.  Hublaagram previously provided auto likes on the website, but because time passed hublaagram experienced server errors on i...

Download Median UI 1.7 Blogger Template Free Download

Median UI is designed with the concept of dashboard UI, the template is more recommended for use on news blogs, a design that is simpler but has a high readability is the plus point of this template. The menu display is also made different from other templates, carrying the concept of 3 columns where the first column is devoted to the navigation menu that can be minimized navigation width. Easy to Customize We're trying to make this template easier to edit, now you can directly change the colors through the Blogger Theme Designer or the Layout menu. Fast Loading Performance is a top priority in our templates, a site that performs well has many benefits and has more potential to be on the first page of search results. Key Features of iMagz Blogger Template Responsive Flexible template sizes adjust on each screen as well as neatly arranged layouts by maximizing CSS performance. SEO Friendly The template has been designed SEO Friendly ranging from breadcrumbs that have been indexed by...

YouTube videos download kaise kare YouTube video Download karne ke liye ye hai 5 best Android Apps

YouTube ek popular video streaming platform hai yha hazaro videos roz upload hote hai bahut se log youtuYo video download karna chahte hai pr unko pta nhi hota hai ki YouTube se video kaise download kare. YouTube se video download karne ke bahut tarike hai inmese 3 popular tarike ke baare me hm baat Karenge. YouTube offline features.. Agar aapko Youtube video Ko sirf is liy download karna Chahte hai ki jb internet connection na ho tab bhi dekh sake to aap YouTube offline features ka use kr sakte iska sabse bara advantage hai ki iske liy aapko koi aur aap Download nhi karna hoga.  Kaise use kare offline feature Ko... Is feature Ko use karna bahut hi aasan hai aapko Apne favourite video Ko play kare yha aapko Download ka icon show hoga uspar click kare iske Baad aapko notification show hoga usko ok karde ab apka video download hona suru ho jayega.. Apne YouTube offline video kaise play kare.. Offline video Ko play karne ke liye aapko niche diy gye options me se...