Last active
September 15, 2015 19:46
-
-
Save jdsteinbach/b2717883c8f1b4ed5215 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
| .div | |
| .div | |
| .div |
This file contains hidden or 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.4.14) | |
| // Compass (v1.0.3) | |
| // ---- | |
| @font-face { | |
| font-family: FA; | |
| src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/fonts/fontawesome-webfont.woff'); | |
| } | |
| div { | |
| height: 20px; | |
| width: 20px; | |
| $foo: '\f030'; | |
| $baz: '\f050'; | |
| $bar: '\f060'; | |
| &:after { | |
| font-family: FA; | |
| display: block; | |
| } | |
| &:first-child:after { | |
| content: $foo; | |
| } | |
| &:nth-child(2):after { | |
| content: $bar; | |
| } | |
| &:last-child:after { | |
| content: $baz; | |
| } | |
| } | |
| /* wanting content: "\f102"; */ |
This file contains hidden or 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
| @charset "UTF-8"; | |
| @font-face { | |
| font-family: FA; | |
| src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/fonts/fontawesome-webfont.woff"); | |
| } | |
| div { | |
| height: 20px; | |
| width: 20px; | |
| } | |
| div:after { | |
| font-family: FA; | |
| display: block; | |
| } | |
| div:first-child:after { | |
| content: ""; | |
| } | |
| div:nth-child(2):after { | |
| content: ""; | |
| } | |
| div:last-child:after { | |
| content: ""; | |
| } | |
| /* wanting content: "\f102"; */ |
This file contains hidden or 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
| <div class='div'></div> | |
| <div class='div'></div> | |
| <div class='div'></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment