{"name":"postcss-will-change","version":"0.1.0","description":"PostCSS plugin to insert 3D hack before will-change property","keywords":["postcss","css","postcssplugin","will-change","fallback"],"author":{"name":"Andrey Sitnik","email":"andrey@sitnik.ru"},"license":"MIT","repository":{"type":"git","url":"https://github.com/postcss/postcss-will-change.git"},"dependencies":{"postcss":"^4.0.3"},"devDependencies":{"jshint-stylish":"1.0.0","gulp-jshint":"1.9.2","gulp-mocha":"2.0.0","mocha":"2.1.0","chai":"1.10.0","gulp":"3.8.11"},"scripts":{"test":"gulp"},"gitHead":"8b493989ac2e2151773ef68be820b527b912aae7","bugs":{"url":"https://github.com/postcss/postcss-will-change/issues"},"homepage":"https://github.com/postcss/postcss-will-change","_id":"postcss-will-change@0.1.0","_shasum":"cf87346ede764b8f969078242475d699874d67e0","_from":".","_npmVersion":"2.5.0","_nodeVersion":"1.2.0","_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"dist":{"shasum":"cf87346ede764b8f969078242475d699874d67e0","tarball":"http://registry-npm.ywwl.com/postcss-will-change/download/postcss-will-change-0.1.0.tgz","integrity":"sha512-4yLy9iMT0eKljMyKBjZbI51IVi2zzZSFhVUfzn6h7rX8z1qKLruLAolqRFViUbz9Gg4oyJKHb9z0ThYSsigeOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICAqZ/42OstJLeFMIsKP2cEzD6CeL9MpMxv2WVbMbqhBAiAREeBXqvtRhb7j0JbMM5xQ6HAsUvrcNRrd2WKaJAnLmw=="}],"size":1685,"noattachment":false,"key":"/postcss-will-change/-/postcss-will-change-0.1.0.tgz"},"directories":{},"readme":"# PostCSS Will Change\n\n<img align=\"right\" width=\"135\" height=\"95\"\n     title=\"Philosopher’s stone, logo of PostCSS\"\n     src=\"https://postcss.org/logo-leftp.svg\">\n\n[PostCSS] plugin to insert 3D hack before [will-change] property.\n\nThis plugin uses `backface-visibility` to force the browser to create\na new layer, without overriding existing `backface-visibility` properties.\nThis 3D CSS hack is commonly done with `transform: translateZ(0)`,\nbut `backface-visibility` is used here to avoid overriding\nthe more popular `transform` property.\n\nThese hacks are required for browsers that do not support `will-change`.\n\nUse this plugin only before [Autoprefixer]. It will add vendor prefixes\nto `backface-visibility`.\n\n[Autoprefixer]: https://github.com/postcss/autoprefixer\n[will-change]:  https://dev.opera.com/articles/css-will-change-property/\n[PostCSS]:      https://github.com/postcss/postcss\n\n```css\n.foo {\n  will-change: transform;\n}\n```\n\n```css\n.foo {\n  backface-visibility: hidden;\n  will-change: transform;\n}\n```\n\n<a href=\"https://evilmartians.com/?utm_source=postcss-will-change\">\n  <img src=\"https://evilmartians.com/badges/sponsored-by-evil-martians.svg\"\n       alt=\"Sponsored by Evil Martians\" width=\"236\" height=\"54\">\n</a>\n\n\n## Usage\n\n**Step 1:** Install plugin:\n\n```sh\nnpm install --save-dev postcss postcss-will-change\n```\n\n**Step 2:** Check you project for existed PostCSS config: `postcss.config.js`\nin the project root, `\"postcss\"` section in `package.json`\nor `postcss` in bundle config.\n\nIf you do not use PostCSS, add it according to [official docs]\nand set this plugin in settings.\n\n**Step 3:** Add the plugin to plugins list:\n\n```diff\nmodule.exports = {\n  plugins: [\n+   require('postcss-will-change'),\n    require('autoprefixer')\n  ]\n}\n```\n\n[official docs]: https://github.com/postcss/postcss#usage\n","publish_time":1424383223552,"_cnpm_publish_time":1424383223552,"dist-tags":{"latest":"4.0.1"}}