Created
April 5, 2013 22:02
-
-
Save dantman/5323001 to your computer and use it in GitHub Desktop.
How support for @media inside a media => "..." should work.
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
.a { color: red; } | |
@media (max-width: 600px) { | |
.a { color: blue; } | |
} | |
.b { color: green; } |
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
@media screen { | |
.a { color: red; } | |
} | |
@media screen and (max-width: 600px) { | |
.a { color: blue; } | |
} | |
@media screen { | |
.b { color: green; } | |
} |
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
<?php | |
array( 'foobar.css' => array( 'media' => 'screen' ) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment