{"bugs":{"url":"https://github.com/csstools/sanitize.css/issues"},"dist":{"shasum":"bd38f9752b0972849d2de260daeaa99878fd349e","tarball":"https://registry.npmjs.org/sanitize.css/-/sanitize.css-8.0.1.tgz","fileCount":5,"integrity":"sha512-5Gsh+BmqyhixJIh68mpP1NkiiKNTeQi9WPQvdVPxfcFIkiuXKcDkKHhYekxheK45KI52bIUC/FXK8R5HGOza5Q==","signatures":[{"sig":"MEUCIDdiGviNxtTDhX9F/UNYTumJ97TlNUT37qlo0Xx0xuzGAiEAnatspcOnpOHY9rkmiJN987xvB8E2yRN3Nas2FoGWzSQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28714,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc2dM9CRA9TVsSAnZWagAAhjAP/Aro1C0LhHnKIufHUGDL\nouKZ+YlM5bFVbIhmCrkMiCGPrCt/41FAjzSIGCTILbW7P13Wi9GQFSPArhli\nTspFJeER0wx2cQneqiQ7ZWYl3+YoGHZoyTaRCZcqqNBe8nw31dnnM9a+HLRj\nYvpW/hNshYzmvNCtWA/j4Q6f93Kk7zulWXJG91VMrG8za2WnrWUg1CGZ5mZP\nM3qgxsSB+ZCrlikykC2zcwFwUmlpJLUA7Ny4x1ljLM78zKG5QS0rJGiSkXas\nvaXMmjMUXqXjDI/2AWri0ykdMfT5fsGVDCrIAKjYvgFcJmu8Kq6/MHpUGHUe\nYqny4ZNqQOFKEOfSmRpqvfTkUooHJ2Wy061Xuy2WQeSgOFeOkP4r8KAvpApf\n7HvDgAeFgOo49Y5qkESWf+9bikLxw0TOiF1yTzix7YGVVSmXnsP1A8eU/A7I\naVFiGOVjDLpwX1wNjP/XSM7hcoJy0wMT9Sd54EDuGObc/dAUZmAmibq5v/5O\nrnbkrZS3Cn+rtDsPvRSquMplSS+cv+jEU8WVXAq8TeMA5lBHItNPEgfEkyqc\n+l2nPkp07n3XlB2rhtTKzxrrf5/If1tlID6TUOO4pRqeG49sVccmmJudh4dO\nrj0StAVUVlH1jdcjQIDWZklNfsYaduDtzBFQV4Y2rkdnj3GqcBDEGzq6+nQB\nxlVP\r\n=Egdv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"sanitize.css","name":"sanitize.css","style":"sanitize.css","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"readme":"# sanitize.css [<img src=\"https://csstools.github.io/sanitize.css/logo.svg\" alt=\"sanitize\" width=\"90\" height=\"90\" align=\"right\">][sanitize.css]\n\n[sanitize.css] is a CSS library that provides consistent, cross-browser\ndefault styling of HTML elements alongside useful defaults.\n\n## How to get it\n\n**NPM**\n\n```sh\nnpm install --save sanitize.css\n```\n\n**Download**\n\nSee https://csstools.github.io/sanitize.css/latest/sanitize.css\n\n**CDN**\n\nsee https://cdnjs.com/libraries/10up-sanitize.css\n\n### Usage in npm and webpack\n\nImport [sanitize.css] in CSS:\n\n```css\n@import '~sanitize.css';\n```\n\nAlternatively, import [sanitize.css] in JS:\n\n```js\nimport 'sanitize.css';\n```\n\nIn `webpack.config.js`, be sure to use the appropriate loaders:\n\n```js\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: /\\.css$/,\n        use: [ 'style-loader', 'css-loader' ]\n      }\n    ]\n  }\n}\n```\n\n## What does it do?\n\n* Normalizes styles for a wide range of elements.\n* Corrects bugs and common browser inconsistencies.\n* Provides common, useful defaults.\n* Explains what code does using detailed comments.\n\n## Features\n\n##### Box sizing defaults to border-box\n\n```css\n*, ::before, ::after {\n  box-sizing: border-box;\n}\n```\n\n##### Backgrounds do not repeat by default\n\n```css\n*, ::before, ::after {\n  background-repeat: no-repeat;\n}\n```\n\n##### Pseudo-elements inherit text decoration and vertical alignment\n\n```css\n::before,\n::after {\n  text-decoration: inherit;\n  vertical-align: inherit;\n}\n```\n\n##### Cursors only change to hint non-obvious interfaces\n\n```css\nhtml {\n  cursor: default;\n}\n```\n\n##### The default font is the system ui font\n\n```css\nhtml {\n  font-family:\n    system-ui,\n    /* macOS 10.11-10.12 */ -apple-system,\n    /* Windows 6+ */ Segoe UI,\n    /* Android 4+ */ Roboto,\n    /* Ubuntu 10.10+ */ Ubuntu,\n    /* Gnome 3+ */ Cantarell,\n    /* KDE Plasma 5+ */ Noto Sans,\n    /* fallback */ sans-serif,\n    /* macOS emoji */ \"Apple Color Emoji\",\n    /* Windows emoji */ \"Segoe UI Emoji\",\n    /* Windows emoji */ \"Segoe UI Symbol\",\n    /* Linux emoji */ \"Noto Color Emoji\";\n}\n```\n\n##### Tabs appear the same on the web as in a typical editor\n\n```css\nhtml {\n  tab-size: 4;\n}\n```\n\n##### Words break to prevent overflow\n\n```css\nhtml {\n  word-break: break-all;\n}\n```\n\n##### Documents do not use a margin for outer padding\n\n```css\nbody {\n  margin: 0;\n}\n```\n\n##### Navigation lists do not include a marker style\n\n```css\nnav ol, nav ul {\n  list-style: none;\n}\n```\n\n##### Pre-formatted and code-formatted text uses the monospace system ui font\n\n```css\ncode, kbd, pre, samp {\n  font-family:\n    /* macOS 10.10+ */ Menlo,\n    /* Windows 6+ */ Consolas,\n    /* Android 4+ */ Roboto Mono,\n    /* Ubuntu 10.10+ */ Ubuntu Monospace,\n    /* KDE Plasma 5+ */ Noto Mono,\n    /* KDE Plasma 4+ */ Oxygen Mono,\n    /* Linux/OpenOffice fallback */ Liberation Mono,\n    /* fallback */ monospace;\n}\n```\n\n##### Text selections do not include text shadows\n\n```css\n::selection {\n  background-color: #b3d4fc;\n  color: #000;\n  text-shadow: none;\n}\n```\n\n##### Media elements align to the text center of other content\n\n```css\naudio, canvas, iframe, img, svg, video {\n  vertical-align: middle;\n}\n```\n\n##### SVGs fallback to the current text color\n\n```css\nsvg:not([fill]) {\n  fill: currentColor;\n}\n```\n\n##### Tables do not include additional border spacing\n\n```css\ntable {\n  border-collapse: collapse;\n}\n```\n\n##### Form controls are easily style-able\n\n```css\nbutton, input, select, textarea {\n  font-family: inherit;\n  font-size: inherit;\n  line-height: inherit;\n}\n```\n\n##### Textareas only resize vertically by default\n\n```css\ntextarea {\n  resize: vertical;\n}\n```\n\n##### Single taps are dispatched immediately on clickable elements\n\n```css\na, area, button, input, label, select, summary, textarea, [tabindex] {\n  -ms-touch-action: manipulation;\n  touch-action: manipulation;\n}\n```\n\n##### ARIA roles include visual cursor hints\n\n```css\n[aria-busy=\"true\"] {\n  cursor: progress;\n}\n\n[aria-controls] {\n  cursor: pointer;\n}\n\n[aria-disabled=\"true\"], [disabled] {\n  cursor: default;\n}\n```\n\n##### Visually hidden content remains accessible\n\n```css\n[aria-hidden=\"false\"][hidden]:not(:focus) {\n  clip: rect(0, 0, 0, 0);\n  display: inherit;\n  position: absolute;\n}\n```\n\n## Differences\n\n[normalize.css] and [sanitize.css] correct browser bugs while carefully testing\nand documenting changes. normalize.css styles adhere to css specifications.\nsanitize.css styles adhere to common developer expectations and preferences.\n[reset.css] unstyles all elements. Both sanitize.css and normalize.css are\nmaintained in sync.\n\n## Browser support\n\n* Chrome (last 3)\n* Edge (last 3)\n* Firefox (last 3)\n* Firefox ESR\n* Opera (last 3)\n* Safari (last 3)\n* iOS Safari (last 2)\n* Internet Explorer 9+\n\n## Contributing\n\nPlease read the [contribution guidelines](CONTRIBUTING.md) in order to make the\ncontribution process easy and effective for everyone involved.\n\n## Acknowledgements\n\nsanitize.css is a project by [Jonathan Neal](https://github.com/jonathantneal),\nbuilt upon normalize.css, a project by\n[Jonathan Neal](https://github.com/jonathantneal),\nco-created with [Nicolas Gallagher](https://github.com/necolas).\n\n[normalize.css]: https://github.com/csstools/normalize.css\n[reset.css]: http://meyerweb.com/eric/tools/css/reset/\n[sanitize.css]: https://github.com/csstools/sanitize.css\n","gitHead":"87ce42cc54e9bf182bdf007e50759e01fa010d6c","license":"CC0-1.0","scripts":{"test":"stylelint sanitize.css typography/sanitize-typography.css","prepublishOnly":"npm test"},"_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"homepage":"https://github.com/csstools/sanitize.css#readme","keywords":["css","normalizes","sanitizes","browsers","fixes"],"stylelint":{"rules":{"no-descending-specificity":[null],"font-family-no-duplicate-names":[true,{"ignoreFontFamilyNames":["monospace"]}]},"extends":"stylelint-config-standard"},"repository":{"url":"git+https://github.com/csstools/sanitize.css.git","type":"git"},"_npmVersion":"6.4.1","description":"A best-practices CSS foundation","directories":{},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_nodeVersion":"8.16.0","contributors":[{"url":"http://jonathantneal.com/","name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},{"url":"http://nicolasgallagher.com/","name":"Nicolas Gallagher","email":"nicolas@nicolasgallagher.com"}],"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"stylelint":"^10.0.1","stylelint-config-standard":"^18.3.0"},"_npmOperationalInternal":{"tmp":"tmp/sanitize.css_8.0.1_1557779259415_0.8795586334209609","host":"s3://npm-registry-packages"},"_id":"sanitize.css@8.0.1","version":"8.0.1"}