Skip to content

Instantly share code, notes, and snippets.

@ryndel ryndel/social-aside.css
Last active Dec 17, 2015

What would you like to do?
Social aside. Unfinished. A fixed position social icon set designed to sit at the middle left or middle right of screen
/* Social Links */
#social-links {
position: absolute;
top: 50%;
height: 1000px;
margin-top: -500px;
#social-links ul {
list-style-type: none;
margin: 0;
padding: 0;
#social-links li{
margin: 0;
padding: 0;
#social-links li a {
text-indent: -9999px;
display: block;
width: 40px;
height: 40px;
background: url(../img/icons/social-aside.png) 6px 0px no-repeat;
#social-links .twitter a {
background-color: #31B6D9;
background-position: 6px 0px;
#social-links .facebook a {
background-color: #5069BA;
background-position: 6px -40px;
#social-links .github a {
background-color: #888;
background-position: 6px -80px;
<!doctype html>
<title>Social: Aside</title>
<link rel="stylesheet" href="../css/social-aside.css" type="text/css" media="screen" />
html, body { margin: 0; padding: 0 }
<aside id="social-links">
<li class="twitter"><a href="" rel="external" title="Follow us on Twitter">Twitter</a></li>
<li class="facebook"><a href="" rel="external" title="Join the community on Facebook">Facebook</a></li>
<li class="github"><a href="" rel="external" title="Free code available on Github">Github</a></li>
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.