<!-- Font awesome import -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css">

<!-- Simple social icons -->
<ul class="icon-effect icon-effect-1a">
  <li><a href="#" class="icon"><i class="fa fa-facebook"></i></a></li>
  <li><a href="#" class="icon"><i class="fa fa-twitter"></i></a></li>
  <li><a href="#" class="icon"><i class="fa fa-github"></i></a></li>
</ul>  
/*
* Basic styles
*
* There are basic styles for body.
*/
body { 
  background-color: #ddd; 
}

/* Color variables */
@main-color: #48a65b;
@white-color: #f1f1f1;

/* Mixins */
body { background-color: #ddd; }

  .transition-animation {
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.transition-scale (@scale) {
    -webkit-transform: scale(@scale);
    -moz-transform: scale(@scale);
    -ms-transform: scale(@scale);
    -o-transform: scale(@scale);
    transform: scale(@scale);
}

/* Ul styles */
ul { 
  list-style: none; 
  > li {
    display: inline;
    margin-right: 20px;
  }
}

/*
* Icon styles
*
* There are styles for icon and everything which are connected with it.
*/
.icon {
  display: inline-block;
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  color: @white-color;
  line-height: 52px;
  text-align: center;
  background-color: @main-color;
}

.icon:after {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    content: '';
    box-sizing: content-box;
  }

/* Hover effect */
.icon-effect .icon {
  .transition-animation;
}

.icon-effect .icon:after {
    top: -7px;
    left: -7px;
    padding: 7px;
    box-shadow: 0 0 0 4px @white-color;
   .transition-animation; // mixins
   .transition-scale(.8); // mixins
    opacity: 0;
}

.icon-effect-1a .icon:hover {
    background-color: @white-color;
    color: @main-color;
}

.icon-effect-1a .icon:hover:after {
    .transition-scale(1); // mixins
    opacity: 1;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.