In this post I want to explain about hoe to Display Socialmedia Icons using CSS3.Use this simple CSS and enrich your websites.
Call background image for facebook using the below CSS
To display social media name and hide other icons use the following css codes.opacity is used to apply transparent to other icons.
Please share your comments and feedback.Thanks.Please subscribe my updates via email.
HTML
<li class="facebook">
<a href="http://www.facebook.com/"><strong>Facebook</strong></a>
</li>
<a href="http://www.facebook.com/"><strong>Facebook</strong></a>
</li>
CSS
li.facebook { background-image:url("../images/facebook.png"); }
Full Code for Hover
#css3:hover li { opacity:0.2; }
#css3 li { -webkit-transition-property: opacity; -webkit-transition-duration: 500ms;-moz-transition-property: opacity; -moz-transition-duration: 500ms; }
#css3 li a strong { opacity:0;-webkit-transition-property: opacity, top; -webkit-transition-duration: 300ms;-moz-transition-property: opacity, top; -moz-transition-duration: 300ms; }
#css3 li:hover { opacity:1; }
#css3 li:hover a strong { opacity:1; top:-10px; }
#css3 li { -webkit-transition-property: opacity; -webkit-transition-duration: 500ms;-moz-transition-property: opacity; -moz-transition-duration: 500ms; }
#css3 li a strong { opacity:0;-webkit-transition-property: opacity, top; -webkit-transition-duration: 300ms;-moz-transition-property: opacity, top; -moz-transition-duration: 300ms; }
#css3 li:hover { opacity:1; }
#css3 li:hover a strong { opacity:1; top:-10px; }
Nice blog and absolutely outstanding. You can do something much better but i still say this perfect.Keep trying for the best.
ReplyDeletehow to get pinterest followers