{"name":"basscss-positions","version":"1.0.0","description":"CSS positioning utilities for Basscss","style":"index.css","author":{"name":"Brent Jackson"},"license":"MIT","repository":{"type":"git","url":"https://github.com/jxnblk/basscss-positions.git"},"bugs":{"url":"https://github.com/jxnblk/basscss-positions/issues"},"homepage":"https://github.com/jxnblk/basscss-positions","gitHead":"e5d54d0394ecca4e36654ab4a085c7941e9943d7","_id":"basscss-positions@1.0.0","scripts":{},"_shasum":"66c3fa7970d4cdc7679e9e77c0c3ee14565eade9","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jxnblk","email":"jxnblk@gmail.com"},"maintainers":[{"name":"jxnblk","email":"jxnblk@gmail.com"}],"dist":{"shasum":"66c3fa7970d4cdc7679e9e77c0c3ee14565eade9","tarball":"http://registry-npm.ywwl.com/basscss-positions/download/basscss-positions-1.0.0.tgz","integrity":"sha512-B156YwpoQk0CicpgAtX+PyoVsISeqP6AgAZiQ3POlIhVARA2G68zLa4CEG3g4EumcRe6I5o1k180RvvVvtHGGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICdZOcGIjhD18tOxPSS8JDVFiZ4MJ+XIaTOzD6vHhMwgAiB5UodxDE4IbCxuvn5a64Q9EdQ7OWVacAumGg2v+Wrz4A=="}],"size":1175,"noattachment":false,"key":"/basscss-positions/-/basscss-positions-1.0.0.tgz"},"directories":{},"readme":"\n\nThis module includes basic positioning utilities to alter the default document flow.\n\n<p class=\"red\">Use positions with caution. They are often unnecessary and commonly misused.</p>\n\nUse `.relative` to create a new stacking context.\n\n```html\n<div class=\"relative\">\n  <button class=\"btn btn-primary\">Button</button>\n</div>\n```\n\nUse `.absolute` to move elements out of the default document flow.\n\n```html\n<div class=\"relative mb4\">\n  <button class=\"btn btn-primary\">Button</button>\n  <div class=\"absolute bg-white border rounded\">\n    <a href=\"#\" class=\"block btn\">Dropdown Action</a>\n    <a href=\"#\" class=\"block btn\">Action</a>\n    <a href=\"#\" class=\"block btn\">Action</a>\n  </div>\n</div>\n```\n\nUse `.fixed` to position an element relative to the viewport.\n<p class=\"docs-show\" style=\"display:none\">Note: fixed positioning has been disabled here for demonstration only.</p>\n\n```html\n<button class=\"fixed btn btn-primary\">\n  Button\n</button>\n```\n\nNote: Fixed positioning is notoriously tricky to use well and can lead to inaccessible content and unwanted side effects. Use fixed positioning with caution.\n\nTo anchor to a particular side, use `.top-0`, `.right-0`, `.bottom-0`, or `.left-0`. Margin and padding utilities can be used to space elements apart.\n\n```html\n<button class=\"fixed top-0 right-0 m2 btn btn-primary\">\n  Button\n</button>\n```\n\nTo fill an entire width or height, use opposing directions.\n\n```html\n<div class=\"fixed top-0 left-0 right-0 p2 white bg-black\">\n  Fixed bar\n</div>\n```\n\nTo ensure the desired stacking order, use z-index utilities.\n\n```html\n<div class=\"fixed z2 top-0 left-0 right-0 p2 white bg-black\">\n  Fixed bar\n</div>\n```\n\n<style>\n.MarkedExample .fixed { position: static }\n</style>\n\n","publish_time":1428701517453,"_cnpm_publish_time":1428701517453,"dist-tags":{"latest":"1.0.5"}}