Please sign in to comment.
This commit adds support for media queries set via media attributes o…
…n the link element. Currently, media attribute-based queries will be ignored if the linked stylesheet contains inline media queries (which will work as usual), so this patch is incomplete, but it does allow you to use one mechanism or the other.
- Loading branch information...
Showing with 70 additions and 15 deletions.
|@@ -0,0 +1,8 @@|
|+/* this stylesheet was referenced via a link that had a media attr defined|
|+it should only apply on screen > 600px */|
|+ display: block;|
|+ color: #fff;|
|+ background: black;|
|+ text-align: center;|