Skip to content
All gists
Back to GitHub
Sign in
Sign up
Sign in
Sign up
{{ message }}
Instantly share code, notes, and snippets.
shemul49rmc
/
Simple Social Follow Widget With CSS Image Sprites
Last active
March 21, 2017 17:56
Star
0
Fork
0
Star
Code
Revisions
3
Embed
What would you like to do?
Embed
Embed this gist in your website.
Share
Copy sharable link for this gist.
Clone via HTTPS
Clone with Git or checkout with SVN using the repository’s web address.
Learn more about clone URLs
Download ZIP
Simple Social Follow Widget With CSS Image Sprites
Raw
Simple Social Follow Widget With CSS Image Sprites
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
<style>
/*-----Social Follow-----*/
#follow{
border: 2px solid #ACA3A3;
padding: 5px 5px 5px 0px;
overflow: hidden;
display: inline-block;
}
#follow a{
width:32px;
height:32px;
margin:0 0 0 2px;
display:block;
float:left;
background:url(http://i.imgur.com/ARnVpCd.png) no-repeat 0 0;
line-height:0;
font-size:0;
color:transparent
}
#follow a:hover{
opacity:.5
}
#follow a.facebook{
background-position:0 -105px;
margin-left:9px!important
}
#follow a.twitter{
background-position:0 -70px
}
#follow a.gplus{
background-position:0 -140px
}
#follow a.rss{
background-position:0 -35px
}
#follow a.tube{
background-position:0 0
}
</style>
<!Simple Social Follow Widget Style Starts-->
<div id="follow" style="width:250px;margin:0 auto; border:none!important;">
<a class="facebook" href="https://www.facebook.com/iamshemul" rel="nofollow" title="Follow me on Facebook">Facebook</a>
<a class="twitter" href="http://twitter.com/shemul49rmc" rel="nofollow" title="Follow me on Twitter">Twitter</a>
<a class="gplus" href="http://plus.google.com/101611663127869024919" rel="nofollow" title="Follow me on Google Plus">Google Plus</a>
<a class="rss" href="http://feeds.feedburner.com/iamshemul" rel="nofollow" title="Subscribe To RSS">Subscribe To RSS</a>
<a class="tube" href="http://www.youtube.com/user/shemul49rmc" rel="nofollow" title="Follow me on YouTube">YouTube</a>
</div>
<!--follow ends-->
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.