Skip to content

Instantly share code, notes, and snippets.

@chrishutchinson
Created September 11, 2014 11:27
Show Gist options
  • Save chrishutchinson/3ba0c3c2a358fa62ab7e to your computer and use it in GitHub Desktop.
Save chrishutchinson/3ba0c3c2a358fa62ab7e to your computer and use it in GitHub Desktop.
CSS to add custom icons (in this case Font Awesome) to Sir Trevor JS blocks
a[data-type="tweet"]{
span{ display: none; }
&:before {
content: "\f099";
display: block;
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 38px;
margin-bottom: 8px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment