Skip to content

Instantly share code, notes, and snippets.

@brianjking
Forked from neilgee/socialmenu.html
Last active March 16, 2016 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianjking/115814531a46ef5674c0 to your computer and use it in GitHub Desktop.
Save brianjking/115814531a46ef5674c0 to your computer and use it in GitHub Desktop.
FontAwesome Social Media Menu
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<style>
ul {
overflow: auto;
}
ul li {
list-style-type: none;
float: left;
}
ul li a i {
background: #205D7A;
color: #fff;
width: 40px;
height: 40px;
border-radius: 20px;
font-size: 25px;
text-align: center;
margin-right: 10px;
padding-top: 15%;
transition: all 0.2s ease-in-out;
}
.fa-facebook {
background:#3b5998
}
.fa-linkedin {
background:#007bb6
}
.fa-twitter {
background:#00aced
}
.google-plus {
background:#dd4b39
}
ul li a i:hover {
opacity: .7;
}
</style>
<ul>
<li><a href="http://facebook.com/"><i class="fa fa-facebook"></i></a></li>
<li><a href="http://linkedin.com/"><i class="fa fa-linkedin"></i></a></li>
<li><a href="http://twitter.com/"><i class="fa fa-twitter"></i></a></li>
<li><a href="http://plus.google.com/"><i class="fa fa-google-plus"></i> </a></li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment