Skip to content

kjvalencik/gulp-mq-remove

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

gulp-mq-remove

Remove all media queries, inlining a default set.

This is mostly useful when dealing with older browsers that do not support media queries without falling back to something like respond.js.

mqRemove(query[, options])

Example

var gulp     = require("gulp"),
    mqRemove = require("gulp-mq-remove");

gulp.task("ie8styles", function () {
    return gulp.src("styles/**/*.css")
        .pipe(mqRemove({ width: "1024px" }))
        .pipe(gulp.dest("build"));
});

About

Remove all media queries, inlining a default one.

Resources

Stars

Watchers

Forks

Packages

No packages published