Created
September 11, 2014 11:27
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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