code: function (rule, media) {
          if (media === undefined && Foundation.stylesheet) {
            Foundation.stylesheet.insertRule(rule, Foundation.stylesheet.cssRules.length);
          } else {
            var query = Foundation.media_queries[media];
  
            if (query !== undefined) {
              Foundation.stylesheet.insertRule('@media ' +
                Foundation.media_queries[media] + '{ ' + rule + ' }');
            }
          }
        }
docs: Description: Add custom CSS within a JS-defined media query  Arguments: Rule (String): CSS rule to be appended to the document.  Media (String): Optional media query string for the CSS rule to be nested under.