Fully Optimized CSS3 Widget To Improve Page Loading

I want to ask you one question, what is the value of losing visitors due to a slow loading of the website? Is it important to you that much? If you really care about your site loading and want to improve visitor's navigation experience then you should take some serious efforts to unlock huge numbers of generic visits. Not only scripts but images are also equally affected by page loading. Learn how to use CSS3 in widget instead of actual images in your page to improve page loading. It is the best practices for a faster web app with CSS3 & HTML5 coding. Learn how to dramatically improve page load time by using the fully optimized CSS3 widget. We have seen and there are lots of pages which shows asynchronous loading plugins to improve page load speed but we are going to see a new tutorial about CSS3 widget that only consists images build up by CSS itself and I am sure this will help you to reduce page loading of your blogger blog. Learn how to use fully optimized CSS3 widget to improve page loading.
CSS3 Optimized Widget To Improve Page Loading
CSS3 Optimized Widget To Improve Page Loading
Last time we have seen how to defer the loading of Facebook like box by lazy load script for making page speed much faster. These widgets dramatically slowdown the loading of your page due to additional downloads, several requests and synchronous loading of JavaScript which causes high memory usage to browsers. The goal of this post is to get higher page views, lower bounce rate & to optimize your site for social media.

Optimize the performance of widgets to improve page loading using CSS3

This is one of the best SEO & blogging tip. This widget is fully made by CSS3, that means all images contained by this widget is made only by CSS. Yes that's true, CSS can be written to get an images you want to display on page instead of actual image like .jpg or .png. When you install any third party widget on your page it will call for images to download which causes more requests and extra downloading as well as time; and this mutually affects on your site loading. But this widget will NOT cause any request for images shown by it nor causes downloading of any and hence this improves your site loading.


Here I have given E-mail subscription widget with four CSS3 icons which are not images, its truly CSS based coding. Change blue coloured text as per your information and install this widget in your site.
<div id='email-sub-pbb'>
<style>
#menump {align:center;}
#menump ul {    list-style:none;    padding:0;    margin:0;    overflow:hidden;    font:0.875em/1 Arial, sans-serif; }
#menump ul li {    float:left;    width:46px;    height:49px; padding-left: 20px; }
#menump ul li a {    display:block;    width:45px;    height:45px;    overflow:hidden;    border:1px solid transparent;    line-height:45px;    text-decoration:none;    text-shadow:0 -1px 0 rgba(0,0,0,0.5);    -moz-border-radius:5px;    -webkit-border-radius:5px;    border-radius:5px; }
#menump ul li a:hover, #menump ul li a:focus, #menump ul li a:active {    opacity:0.8;    border-color:#000; }
/* ------------------------------------------------------------------------------------
--  FACEBOOK
------------------------------------------------------------------------------------ */
.facebook a {
    position:relative;
    border-color:#3c5a98;
    text-transform:lowercase;
    text-indent:24px;
    letter-spacing:10px;
    font-weight:bold;
    font-size:40px;
    line-height:50px;
    color:#fff;
    background:#3c5a98;
    /* css3 */
    -moz-box-shadow:0 0 4px rgba(0,0,0,0.4);
    -webkit-box-shadow:0 0 4px rgba(0,0,0,0.4);
    box-shadow:0 0 4px rgba(0,0,0,0.4); /* standards version last */
}
/* ------------------------------------------------------------------------------------
--  TWITTER
------------------------------------------------------------------------------------ */
.twitter a {
    position:relative;
    border-color:#a8eaec;
    text-transform:lowercase;
    text-indent:13px;
    letter-spacing:40px;
    font:bold 45px/1 Tahoma, sans-serif;
    line-height:35px;
    color:#6ac6df;
    background:#daf6f7;
    /* css3 */
    text-shadow: 3px 3px 1px #fff, -3px -3px 1px #fff, 3px -3px 1px #fff, -3px 3px 1px #fff;
    -moz-box-shadow:0 0 4px rgba(0,0,0,0.4);
    -webkit-box-shadow:0 0 4px rgba(0,0,0,0.4);
    box-shadow:0 0 4px rgba(0,0,0,0.4); /* standards version last */
    /* NOTE: webkit gradient implementation is not as per spec */
    background:-webkit-gradient(linear, left top, left bottom, from(#dbf7f8), to(#88e1e6));
    background:-moz-linear-gradient(top, #dbf7f8, #88e1e6);
}
/* ------------------------------------------------------------------------------------
--  RSS
------------------------------------------------------------------------------------ */
.rss a {
    position:relative;
    width:45px;
    padding:0 2px;
    border-color:#ea6635;
    text-transform:lowercase;
    text-indent:-186px;
    font-size:30px;
    font-weight:bold;
    color:#fff;
    background:#e36443;
    /* css3 */
    /* NOTE: box-shadow is not currently in any CSS3 module. It may be reappear in a different form altogether */
    -moz-box-shadow:0 0 4px rgba(0,0,0,0.4);
    -webkit-box-shadow:0 0 4px rgba(0,0,0,0.4);
    box-shadow:0 0 4px rgba(0,0,0,0.4); /* standards version last */
    /* NOTE: webkit gradient implementation is not as per spec */
    background:-webkit-gradient(linear, left top, left bottom, from(#f19242), to(#e36443));
    background:-moz-linear-gradient(top, #f19242, #e36443);
}
/* create circle */
.rss a:before {
    content:&quot;\00a0&quot;;
    position:absolute;
    bottom:4px;
    left:5px;
    width:9px;
    height:9px;
    background:#fff;
    /* css3 */
    -moz-border-radius:12px;
    -webkit-border-radius:12px;
    border-radius:12px; /* standards version last */
}

/* create the two arcs */
.rss a:after {
    content:&quot;\00a0&quot;;
    position:absolute;
    bottom:5px;
    left:5px;
    width:14px;
    height:13px;
    border-style:double;
    border-width:24px 24px 0 0;
    border-color:#fff;
    /* css3 */
    -moz-border-radius:0 50px 0 0;
    -webkit-border-top-right-radius:50px;
    border-radius:0 50px 0 0; /* standards version last */
}
/* ------------------------------------------------------------------------------------
--  GOOGLE
------------------------------------------------------------------------------------ */
.google a {
    position:relative;
    border-color:#26478d;
    text-transform:lowercase;
    text-indent:6px;
    letter-spacing:40px;
    font: 71px/21px Georgia, Times New Roman, Times, serif;
    color:#fff;
    background:#1e3c7f;
    /* css3 */
    -moz-box-shadow:0 0 4px rgba(0,0,0,0.4);
    -webkit-box-shadow:0 0 4px rgba(0,0,0,0.4);
    box-shadow:0 0 4px rgba(0,0,0,0.4); /* standards version last */
    /* NOTE: webkit gradient implementation is not as per spec */
    background:-webkit-gradient(linear, left top, left bottom, from(#447aec), to(#1e3c7f));
    background:-moz-linear-gradient(top, #447aec, #1e3c7f);
}
#sidebar-subscribe-box{
width:auto;
/* border:1px solid #b2b2b2;*/
background:#ececd9;
border-radius: 10px;
padding-top: 25px;
padding-bottom: 1px;
}
.sidebar-subscribe-box-wrapper{
color:#000;
font-size:11px;
padding:1px 20px 10px;
text-align:center;
letter-spacing: normal;
text-transform: capitalize;
font-weight: normal;
}
.sidebar-subscribe-box-form{
clear:both;
display:block;
margin:10px 0}form.sidebar-subscribe-box-form{clear:both;display:block;margin:10px 0 0;width:auto}
.sidebar-subscribe-box-email-field{
-moz-border-radius:4px;-webkit-border-radius:4px;
border:1px solid #ccc;border-radius:4px;color:#444;margin:0 0 15px;padding:10px 40px;width:68%}
.sidebar-subscribe-box-email-button{
background:#58524b;
border:1px solid #4a453e;
border-radius: 4px;
box-shadow:0 1px 0 rgba(255,255,255,0.3) inset, 0 1px 0 transparent;
color:#fff;
cursor:pointer;
font-family:Droid Serif;
font-weight:700;padding:10px;text-shadow:1px 1px 0 rgba(0,0,0,.4);text-transform:uppercase;width:100%}
.sidebar-subscribe-box-email-button:hover,.sidebar-subscribe-box-email-button:focus{background:#D83F1D}
.sidebar-subscribe-box-email-button:active{-moz-box-shadow:0 1px 4px rgba(0,0,0,0.5) inset;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.5) inset;box-shadow:0 1px 4px rgba(0,0,0,0.5) inset;outline:0}iframe,object,embed,.yt-border iframe,.yt-border object,.yt-border embed,table{width:100%}embed{border-radius:3px;-moz-box-shadow:0 2px 4px rgba(0,0,0,0.2);-webkit-box-shadow:0 2px 4px rgba(0,0,0,0.2);background:#FFF;border:1px solid #ddd;box-shadow:0 2px 4px rgba(0,0,0,0.2);margin:0;padding:4px 4px 4px}
#footer-section{border-top:1px solid #aaa;box-shadow:inset 0 4px 6px -3px #aaa;font-family:cambria;font-size:14px;height:100px;margin:10px -30px 5px;padding:0 30px;text-align:center;width:100%}
a.social-icons{margin-right: 5px;height:45px;width:45px;}
a.social-icons:hover { opacity: .7; filter:alpha(opacity=70);}
</style>

<div align='center'>
<div id='sidebar-subscribe-box'>
<div class='sidebar-subscribe-box-wrapper'>
<div id='menump'>
<ul>
<li class='facebook'>
<a href='https://facebook.com/problogbooster' rel='nofollow external' title='Share on Facebook'>F</a></li>
<li class='twitter'>
<a href='https://twitter.com/problogbooster' rel='nofollow external' title='Share on Twitter'>T</a></li>
<li class='rss'>
<a href='http://feeds.feedburner.com/problogbooster' rel='nofollow external' title='Subscribe to the RSS feed'>RSS</a></li>
<li class='google'>
<a href='https://plus.google.com/u/0/100539750299570490490' rel='nofollow external' title='Bookmark with Google'>G</a></li>
</ul>
</div>
<p><span style='font-size: 13px; line-height: 20px; text-align: center; text-transform: uppercase;padding:0 10px 0 10px;'>Get Our Latest Articles Delivered To Your Email Inbox And The FREE Access For The Blogger Resource Page </span></p>
<div class='sidebar-subscribe-box-form'>
<form action='http://feedburner.google.com/fb/a/mailverify?uri=problogbooster' class='sidebar-subscribe-box-form' method='post' onsubmit='window.open(&apos;http://feedburner.google.com/fb/a/mailverify?uri=problogbooster&apos;, &apos;popupwindow&apos;, &apos;scrollbars=yes,width=550,height=520&apos;);return true' target='popupwindow'><input name='uri' type='hidden' value='problogbooster'/>
<input name='loc' type='hidden' value='en_US'/><input autocomplete='off' class='sidebar-subscribe-box-email-field' name='email' placeholder=' Enter your email address here'/>
<input class='sidebar-subscribe-box-email-button' title='' type='submit' value='Subscribe Now'/>
</form>
</div>
</div></div></div>
</div>

Use this HTML widget and see the difference in Page-Speed and YSlow.


EmoticonEmoticon