Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

iemedia-postcss

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iemedia-postcss

A post processor for CSS to conditionally remove Media queries

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

iemedia-postcss

A simple Node.js module that makes use of the postcss CSS postprocessor module to strip media tags from style sheets in order to make them more compatible with old versions of IE (especially IE8).

Usage

var avoid = [
        'max-width',
        'orientation',
        'handheld',
        'print',
        'aspect-ratio',
        'max-height',
        'resolution',
        'max-device-width',
        'max-device-height',
        'max-resolution'
      ];

    var processor = require('iemedia-postcss')(avoid);

    var css = grunt.file.read("source.css");
    css = processor.process(css);
    grunt.file.write("output.css",css);

Release History

  • 2015   v0.1.0   Initial build

License

Copyright (c) 2015 iCrossing Licensed under the MIT license.


Project created by Arne Strout.

This file was generated on Fri Jan 16 2015 11:21:42.

Keywords

FAQs

Package last updated on 05 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc