Skip to content

Instantly share code, notes, and snippets.

@caseyohara
Created February 26, 2014 03:38
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 caseyohara/9223110 to your computer and use it in GitHub Desktop.
Save caseyohara/9223110 to your computer and use it in GitHub Desktop.
Dual backgrounds on FontAwesome social icons

http://f.cl.ly/items/2R3i2r462B3V422K2H1e/Screen%20Shot%202014-02-25%20at%208.30.57%20PM.png

.fa-twitter-square,
.fa-facebook-square {
  position: relative;
  z-index: 0;
}

.fa-twitter-square:after,
.fa-facebook-square:after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  left: 2px;
  z-index: -1;
  background: #fff;
}

.fa-twitter-square {
  color: #55ACee;
}

.fa-facebook-square {
  color: #3b5998;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment