a(href="http://www.dribbble.com/chrisota" title="Chris Ota Dribbble") <i class="fa fa-dribbble"></i> Dribbble
View Compiled
$height: 2.8em;
$width: 10em;
$button-color: #EE3769;

@mixin center {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

*,*:before,*:after{
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
}
body{
  background: #222;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Noto Sans', sans-serif;
}

a {
  @include center;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid $button-color;
  border-radius: 8px;
  height:$height;
  width:$width;
  padding: 0;
  outline: none;
  overflow: hidden;
  color: $button-color;
  transition: color 0.3s 0.1s ease-out;
  text-align: center;
  line-height: 250%;
  
  &::before{
    @include center;
    content:'';
    border-radius: 50%;
    display: block;
    width: $width*2;
    height: $width*2;
    line-height: $width*2;
    left: -$width/2;
    text-align: center;
    transition: box-shadow 0.5s ease-out;
    z-index: -1;
  }
  
  &:hover{
    color: #fff;
    &::before{
    box-shadow:inset 0 0 0 $width rgba($button-color,1);
    }
  }
}
View Compiled
// This is improper. It sould be written with the button element. Will recode later!

External CSS

  1. //cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.min.css

External JavaScript

This Pen doesn't use any external JavaScript resources.