{"name":"basscss-hide","version":"1.0.1","description":"Responsive hide utilities module for Basscss","scripts":{"prepublish":"mkdir -p css && postcss index.css -u postcss-import -u postcss-custom-media -u postcss-custom-properties -u autoprefixer -o css/hide.css"},"devDependencies":{"autoprefixer":"^6.3.1","postcss-cli":"^2.5.0","postcss-custom-media":"^5.0.1","postcss-custom-properties":"^5.0.0","postcss-import":"^8.0.2"},"repository":{"type":"git","url":"git+https://github.com/basscss/basscss.git"},"author":{"name":"Brent Jackson"},"license":"MIT","bugs":{"url":"https://github.com/basscss/basscss/issues"},"homepage":"https://github.com/basscss/basscss","_id":"basscss-hide@1.0.1","_shasum":"34bc138bba867c6c49ab8682a610ef495e47d750","_from":".","_npmVersion":"3.3.6","_nodeVersion":"4.1.1","_npmUser":{"name":"jxnblk","email":"jxnblk@gmail.com"},"dist":{"shasum":"34bc138bba867c6c49ab8682a610ef495e47d750","tarball":"http://registry-npm.ywwl.com/basscss-hide/download/basscss-hide-1.0.1.tgz","integrity":"sha512-NYKtjyYIoY4GGiRrE5b3NV/9AmLJOoYTshKl2N6rNI+Bvh+rElT+F7GsOvNlmJvoVhDihcLK16U2UYYNlmb9Bw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLfT1ES1AFUc/1hq0hcZ/y1EcYAUQjJ3oXLMpbAjz9WgIgPvA/W4pODTMhSjFUyFKffUW6PdvswijVuTYLfh/+emQ="}],"size":1470,"noattachment":false,"key":"/basscss-hide/-/basscss-hide-1.0.1.tgz"},"maintainers":[{"name":"jxnblk","email":"jxnblk@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/basscss-hide-1.0.1.tgz_1454889440725_0.7820804780349135"},"directories":{},"readme":"\nUse these utilities to conditionally hide elements based on viewport width.\n\n## Prefix Naming Convention\n\nHide utilities differ from other breakpoint-based styles in Basscss. Each hide utility only applies to one breakpoint range.\n\n<div class=\"overflow-auto\">\n  <table class=\"mb2 table-flush table-light\">\n    <thead>\n      <tr> <th>Prefix</th> <th>Description</th> </tr>\n    </thead>\n    <tbody>\n      <tr> <td>xs-</td> <td>below 40em</td> </tr>\n      <tr> <td>sm-</td> <td>40em – 52em</td> </tr>\n      <tr> <td>md-</td> <td>52em – 64em</td> </tr>\n      <tr> <td>lg-</td> <td>above 64em</td> </tr>\n    </tbody>\n  </table>\n</div>\n\n\n## Hide content\nResize the browser window to see the effect.\n\n```html\n<h3 class=\"xs-hide\">Hidden below 40em</h3>\n<h3 class=\"sm-hide red\">Hidden between 40 and 52em</h3>\n<h3 class=\"md-hide red\">Hidden between 52 and 64em</h3>\n<h3 class=\"lg-hide red\">Hidden above 64em</h3>\n```\n\n## Responsive Line Break\nControl wrapping at different screen widths.\n\n```html\n<h1>\n  Responsive Line Break\n  <br class=\"xs-hide\">\n  To Control Wrapping\n</h1>\n```\n\n## Accessible Hide\n\nTo visually hide things like form labels in an accessible way, use the `.hide` utility.\n\n```html\n<form>\n  <label for=\"search\" class=\"hide\">Search</label>\n  <input id=\"search\" type=\"search\" class=\"input\">\n</form>\n```\n\n## Display None\n\nSet display none with this utility. Use this with caution as it might cause accessibility issues depending on where it’s used.\n\n```html\n<div>Visible</div>\n<div class=\"display-none\">Hidden</div>\n```\n\n","publish_time":1454889443240,"_cnpm_publish_time":1454889443240,"dist-tags":{"beta":"1.0.0-beta3","latest":"1.0.1"}}