diff --git a/lib/parser.js b/lib/parser.js
index <HASH>..<HASH> 100644
--- a/lib/parser.js
+++ b/lib/parser.js
@@ -338,6 +338,7 @@ Parser.prototype = {
           case 'conditional':
           case 'keyframe':
           case 'function':
+          case 'media':
           case 'for':
             switch (type) {
               case 'color':
Fixed support for * selector within @media block