{"name":"postcss-will-change","version":"4.0.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"},"engines":{"node":">=10.0"},"peerDependencies":{"postcss":"^8.0.3"},"bugs":{"url":"https://github.com/postcss/postcss-will-change/issues"},"homepage":"https://github.com/postcss/postcss-will-change#readme","_id":"postcss-will-change@4.0.0","_nodeVersion":"14.10.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-/W9xDWhdKV57uexNydBTKLqWTzm0Wmb5ia8okCuZhB8QrN5+Ulg0+Mom/JgvIQ4bAqrPaUj/r9H0Di3F7MSjNw==","shasum":"7be6e2aaba454327fb8c78ca16968f544e431647","tarball":"http://registry-npm.ywwl.com/postcss-will-change/download/postcss-will-change-4.0.0.tgz","fileCount":5,"unpackedSize":4194,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYRl4CRA9TVsSAnZWagAAPKwP+wU8TXfsEuszaO4bRxRH\nWgnBjAbvwhDoBSWXsmkMgAQatBAMrO/YpFU4aPHdUYQFf4o/2uMFDvyNbaRY\nUEPnahn+Au/MgL/2Z+jtbCAKzNBhqqic0xu8zRw9oXNH81GFWyQrddFwdSsV\nXwsRNseGKNxsBfKhwKIVm7bv8fghZc+LLViD3KoTqShycIn3o+Lt45s3g9Xt\nkMWUr9iddRNGFDzUJqF0uyvP4IUUu298ms4gm0b+DcBZw/jcegeF9MbWeW1L\n8tCg1shv4yOm72RTqaA/1vySQZC7WbdkwOK0ezkNT4grFrYUE51pA9eFK931\nS/uchVZMNp2lrWIZUIa0Bs+4wFC1rLqn6sEUA7YqZ7LQUfi+N28Dg4cXcaXr\nIZ8mKb9N3jAQ7jYodzkvbd7cp770GFhQQHo1FmWONKXa6kZbGE1U8unOvhjv\n3rTPXZnV1f0tYN37gIO6mXZwrH997EeTsZVuCFxBEnzQzTU5sgZ3qkPT7oK3\n0XAP4I6Vwtth+mN04mtTS63RPLj9ddu1jC5VVHMZ1gckKCC37BudbtyN3x0G\nlnSwZrLEdKbFxfifN9/x1mCBD+6giqGs6GhHHqnXGN8231SWtfVhPreKxcii\nYbzOtVrKrLh4+XtuzLLiZZimKqtEo50/r0/tvPSEfWTheQdqzn7D9a4lht+i\nwZ1H\r\n=IQYH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFqCrVmz68/sRqaaKHxWxmAorkGOVnwHPRrGTJyArcxsAiBNUqoxE2b/dAPOpVFP6Gn7LGLSk85w7xFDvTl6msoGjQ=="}],"size":2275,"noattachment":false,"key":"/postcss-will-change/-/postcss-will-change-4.0.0.tgz"},"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-will-change_4.0.0_1600199032147_0.7377246171592582"},"_hasShrinkwrap":false,"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":1600199032254,"_cnpm_publish_time":1600199032254,"dist-tags":{"latest":"4.0.1"}}