Created
July 28, 2014 05:00
-
-
Save startinggravity/70cb05adac7d5f386d1c to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
<ul class="foo"> | |
<li class="fontawesome-twitter">Twitter</li> | |
<li class="fontawesome-pinterest">Pinterest</li> | |
<li class="fontawesome-facebook">Facebook</li> | |
<li class="fontawesome-linkedin">Linkedin</li> | |
</ul> |
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
// ---- | |
// Sass (v3.3.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
@import url(http://weloveiconfonts.com/api/?family=fontawesome); | |
/* fontawesome */ | |
[class*="fontawesome-"]:before { | |
font-family: 'FontAwesome', sans-serif; | |
} | |
.foo { | |
li { | |
list-style: none; | |
&:before { | |
display: inline-block; | |
padding-right: 10px; | |
width: 15px; | |
} | |
} | |
} | |
.fontawesome-twitter:before { | |
color: blue; | |
} | |
.fontawesome-pinterest:before { | |
color: red; | |
} | |
.fontawesome-facebook:before { | |
color: green; | |
} | |
.fontawesome-linkedin:before { | |
color: purple; | |
} |
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
@import url(http://weloveiconfonts.com/api/?family=fontawesome); | |
/* fontawesome */ | |
[class*="fontawesome-"]:before { | |
font-family: 'FontAwesome', sans-serif; | |
} | |
.foo li { | |
list-style: none; | |
} | |
.foo li:before { | |
display: inline-block; | |
padding-right: 10px; | |
width: 15px; | |
} | |
.fontawesome-twitter:before { | |
color: blue; | |
} | |
.fontawesome-pinterest:before { | |
color: red; | |
} | |
.fontawesome-facebook:before { | |
color: green; | |
} | |
.fontawesome-linkedin:before { | |
color: purple; | |
} |
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
<ul class="foo"> | |
<li class="fontawesome-twitter">Twitter</li> | |
<li class="fontawesome-pinterest">Pinterest</li> | |
<li class="fontawesome-facebook">Facebook</li> | |
<li class="fontawesome-linkedin">Linkedin</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment