Add A Css Animated Percentage Push Clitoris On Blogger

I saw this on Paulund, a highly recommended site amongst a skilful collection of snippets, i.e. a collection of dissimilar codes that educate modest utilities, all of these beingness applicable to spider web design.

In this tutorial, nosotros volition come across how nosotros tin add together a like part push on Blogger amongst a actually cool hover number in addition to iv social media icons amongst links to part the electrical current page on Facebook, Twitter, Google+ in addition to Pinterest. However, nosotros tin supersede these social networks afterwards amongst whatever other but past times changing the links below.

Demo:


Creating Influenza A virus subtype H5N1 CSS Animated Share Button

Step 1. From your Blogger dashboard > become to "Template" > click on the "Edit HTML" button.

Step 2. Click anywhere within the code expanse in addition to press the Ctrl + F keys to opened upwards the blogger search box. Type or glue the ]]></b:skin> tag in addition to hitting Enter to honor it.

Step 3. Just higher upwards ]]></b:skin> add together this CSS:
.share_button {
width: 300px;
height: 50px;
margin: 10px auto;
}
.share_button ul {
width: 50%;
height: inherit;
float: left;
list-style: none;
margin: 0 !important;
padding: 0 !important;
}
.share_button ul h1 {
margin-top: 9%;
overflow: hidden;
width: 100%;
color: #4889F0;
font-size: 18px;
text-shadow:2px 2px 2px #fff;
}
.share_button ul li {
position: absolute;
height: inherit;
width: 150px;
margin: 0 !important;
padding: 0 !important;
background: #EEEEEE;
-webkit-transition: all 600ms;
-moz-transition: all 600ms;
-o-transition: all 600ms;
-ms-transition: all 600ms;
transition: all 600ms;
text-align: center;
}
.share_button ul li h2 {
display: inline-block;
width: 32%;
height: 40px;
overflow: hidden;
margin-top: 5%;
cursor: pointer;
border: 0 !important;
}
.share_button ul:first-child li:first-child{
text-align: right;
}
.share_button ul:last-child li:first-child{
text-align: left;
}
.share_button ul:first-child li:last-child,
.share_button:hover ul:first-child li:first-child {
-webkit-transform: rotateY(90deg);
-moz-transform: rotateY(90deg);
-o-transform: rotateY(90deg);
-ms-transform: rotateY(90deg);
transform: rotateY(90deg);
}
.share_button ul:last-child li:last-child,
.share_button:hover ul:last-child li:first-child {
-webkit-transform: rotateY(-90deg);
-moz-transform: rotateY(-90deg);
-o-transform: rotateY(-90deg);
-ms-transform: rotateY(-90deg);
transform: rotateY(-90deg);
}
.share_button:hover ul:first-child li:last-child,
.share_button:hover ul:last-child li:last-child {
-webkit-transform: rotateY(0deg);
-moz-transform: rotateY(0deg);
-o-transform: rotateY(0deg);
-ms-transform: rotateY(0deg);
transform: rotateY(0deg);
}
Step 5. Now let's become ahead in addition to insert the HTML push inwards the template. The close mutual identify would live but after <div class='post-footer'> - honor the minute <div class='post-footer'> in addition to glue the next code but higher upwards it:
<div class='share_button'>

<ul>
<li><h1>
Share t
</h1></li>

<li><h2>
<a expr:href='&quot;http://www.facebook.com/sharer.php?u=&quot; + data:post.canonicalUrl + &quot;&amp;t=&quot; + data:post.title ' title='Share on Facebook'><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwib-Lm1APmhzE_aKgbj0EjolzwIjlXQb-wPUeBD6vHC-ZmneUGXuupP1bs87DTbPAPF7_zopWoKuH8Aye6GaN2S8H7sDJv-T2udLSnbKfkiFRxCyCwfS27_fOgDZ8q5oCzb60iC1VJzhc/s1600/Facebook.png"/></a></h2>

<h2><a expr:href='&quot;http://twitter.com/home?status=&quot; + data:post.title + &quot; &quot; + data:post.canonicalUrl ' title='Share on Twitter'><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEge8vnqIfmxz6UZ634EwJXekvSACkDB8ZCZ482VdVwdWYUA22XQWuNN_KQE2Slxh3cplJHzmfyMy5HVZjPSNyNnRWofDUxpJVyj9dEtnp5zh8TOVANfrlQ0KQgQJkz-Fa8ufcmpo5S9mBfM/s1600/Twitter.png"/></a></h2>
</li>
</ul>
<ul>
<li><h1>his page</h1></li>

<li>
<h2><a expr:href='&quot;https://plus.google.com/share?url=&quot; + data:post.canonicalUrl ' title='Share on Google Plus'><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpP5KM2KLM9uIlnrTegX-ZKtotkwAXAYLf-ZV5wXNSH159Rz4xPTwQ3t3gyhh7MKNZHBvGTNGEdZMIzAL1nf4We6mgQvhxX8thZQ1M2M1lE52QQN5DIweiUT73AbL7QM50TnDvbNtafXQz/s1600/Google-plus.png"/></a></h2>

<h2>
<a href='javascript:void((function(){var%20e=document.createElement(&apos;script&apos;);e.setAttribute(&apos;type&apos;,&apos;text/javascript&apos;);e.setAttribute(&apos;charset&apos;,&apos;UTF-8&apos;);e.setAttribute(&apos;src&apos;,&apos;http://assets.pinterest.com/js/pinmarklet.js?r=&apos;+Math.random()*99999999);document.body.appendChild(e)})());' title='Share on Pinterest'><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTOIPJGNNl1NOgr6gUw-VdXjmkc6OD5CPabHExks-1wMvSEmSdIAKkU24zSI3GkjnGQaBgx6lzvgUN_JDvDpVEnaNJeKTsz0X6MIumf3Rh5EsUrDmYqrP8SKePzboQDkcbh-KXGtVI8cHd/s1600/Pinterest.png"/></a>
</h2>
</li>
</ul>

</div>
Note: if you lot desire to modify the icons, supersede the URLs inwards blue.

Step 5. Click on the "Save template" push in addition to we're done! Enjoy ;)

Comments