<ul class="social-icons">
  <li class="icon icon--twitter">
    <a href="#">
      <span class="icon__name">Twitter</span>
    </a>
  </li>
  <li class="icon icon--linkedin">
    <a href="#">
      <span class="icon__name">LinkedIn</span>
    </a>
  </li>
    <li class="icon icon--angellist">
    <a href="#">
      <span class="icon__name">Angellist</span>
    </a>
  </li>
  <li class="icon icon--instagram">
    <a href="#">
      <span class="icon__name">Instagram</span>
    </a>
  </li>
  <li class="icon icon--flickr">
    <a href="#">
      <span class="icon__name">Flickr</span>
    </a>
  </li>
  <li class="icon icon--spotify">
    <a href="#">
      <span class="icon__name">Spotify</span>
    </a>
  </li>
  <li class="icon icon--soundcloud">
    <a href="#">
      <span class="icon__name">Soundcloud</span>
    </a>
  </li>
  <li class="icon icon--songkick">
    <a href="#">
      <span class="icon__name">Songkick</span>
    </a>
  </li>
  <li class="icon icon--github">
    <a href="#">
      <span class="icon__name">GitHub</span>
    </a>
  </li>
    <li class="icon icon--codepen">
    <a href="#">
      <span class="icon__name">Codepen</span>
    </a>
  </li>
</ul>
/** 
 * Note: If you copy this code, you must replace the URLs with your own. If you hotlink to the images on my hosting provider, I will replace them with different images when I see you doing it in my request logs...
 *
 * The original icons are available here: 
 * here: http://simpleicons.org/
 */

body {
    display: block;
    padding: 20px;
    font-family: sans-serif;
}

.social-icons {
    max-width: 980px;
    margin: 0 auto;
}

.icon {
    float: left;
    position: relative;
    width: 19%;
    height: 0;
    margin: 1% 0.5%;
    padding-bottom: 19%;

    @media all and (min-width: 640px) {
        width: 9%;
        padding-bottom: 9%;
    }

    &:last-of-type {
        margin-right: 0;
    }

    a {
        display: block;
        position: absolute;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 10px;
        background-color: #fff;
        background-size: 70%;
        background-repeat: no-repeat;
        background-position: center center;
        transition: all .2s ease-out;

        &:hover {
            background-color: #222;
            background-size: 0%;
            transition: all .2s ease-out;
        }
    }
}

.icon__name {
    position: absolute;
    top: 50%;
    width: 100%;
    margin-top: -7px;
    color: #fff;
    font-size: 13px;
    text-align: center;
  
    transition: all .3s ease-out;
    opacity: 0;
    filter: blur(25px);
    transform: translateZ(0);
    will-change: transform;
  
    .icon:hover & {
        transition: all .3s ease-out;
        opacity: 1;
        filter: blur(0);
    }
}


// Customise Icons

.icon--codepen a {
    background-color: #111;
    background-image: url('https://benhodgson.net/img/social/codepen.svg');
}

.icon--twitter a {
    background-color: #00aced;
    background-image: url('https://benhodgson.net/img/social/twitter.svg');
}

.icon--linkedin a {
    background-color: #007fb1;
    background-image: url('https://benhodgson.net/img/social/linkedin.svg');
}

.icon--instagram a {
    background-color: #405de6;
    background-image: url('https://benhodgson.net/img/social/instagram.svg');
}

.icon--flickr a {
    background-color: #ff0084;
    background-image: url('https://benhodgson.net/img/social/flickr.svg');
}

.icon--spotify a {
    background-color: #80b719;
    background-image: url('https://benhodgson.net/img/social/spotify.svg');
}

.icon--soundcloud a {
    background-color: #f60;
    background-image: url('https://benhodgson.net/img/social/soundcloud.svg');
}

.icon--songkick a {
    background-color: #f80046;
    background-image: url('https://benhodgson.net/img/social/songkick.svg');
}

.icon--angellist a {
    background-color: #eee;
    background-image: url('https://benhodgson.net/img/social/angellist.svg');
}

.icon--github a {
    background-color: #4078c0;
    background-image: url('https://benhodgson.net/img/social/github.svg');
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.