{"name":"postcss-will-change","version":"0.2.0","description":"PostCSS plugin to insert 3D hack before will-change property","keywords":["postcss","css","postcss-plugin","will-change","fallback"],"author":{"name":"Andrey Sitnik","email":"andrey@sitnik.ru"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/postcss/postcss-will-change.git"},"dependencies":{"postcss":"^4.1.8"},"devDependencies":{"gulp-eslint":"0.11.1","gulp-mocha":"2.0.1","mocha":"2.2.4","chai":"2.3.0","gulp":"3.8.11"},"scripts":{"test":"gulp"},"gitHead":"ebf3e1932654a2f740c0d9b7680eb72765838d5a","bugs":{"url":"https://github.com/postcss/postcss-will-change/issues"},"homepage":"https://github.com/postcss/postcss-will-change#readme","_id":"postcss-will-change@0.2.0","_shasum":"c723d383b09d3dd6bf087d337d2d980d712a3f60","_from":".","_npmVersion":"2.8.3","_nodeVersion":"1.8.1","_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"dist":{"shasum":"c723d383b09d3dd6bf087d337d2d980d712a3f60","tarball":"http://registry-npm.ywwl.com/postcss-will-change/download/postcss-will-change-0.2.0.tgz","integrity":"sha512-iD3cm6rZBb/K0NNNDn0LcUacnPXOHk9aUfDLNQnqRl2aLoPT84DzPSATY7jmrgH6KawfdIpCNORag5nuuOvDHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxBCTIf5e+gRhrVoZJ0OoCMZ1RkDKX3W6yCvNVgWPv3AIgfVMbJDqvGwTg+UgqZjf2tpTXQIBWz31ygofPc8l525o="}],"size":2084,"noattachment":false,"key":"/postcss-will-change/-/postcss-will-change-0.2.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":1430793479671,"_cnpm_publish_time":1430793479671,"dist-tags":{"latest":"4.0.1"}}