Created
October 10, 2013 10:50
-
-
Save ryanseddon/6916541 to your computer and use it in GitHub Desktop.
How can I do this? Stylus as far as I know doesn't like @supports how can I put the parsed css block into the @css literal. I want it to output like the desired-output.css file.
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
| @css { | |
| @supports (flex-flow: row wrap) { | |
| .foo | |
| display: block | |
| > span | |
| display: inline-block | |
| margin-right: 0.3ch; | |
| foo.bar | |
| > span | |
| &:nth-child(1) | |
| text-transform: lowercase | |
| } | |
| } |
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
| @supports (flex-flow: row wrap) { | |
| .foo { | |
| display: block; | |
| } | |
| .foo > span { | |
| display: inline-block | |
| margin-right: 0.3ch; | |
| } | |
| foo.bar > span:nth-child(1) { | |
| text-transform: lowercase | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment