{"name":"basscss-table-object","version":"0.0.7","description":"CSS layout module for vertically centering elements.","repository":{"type":"git","url":"https://github.com/jxnblk/basscss-table-object.git"},"keywords":["CSS","Basscss","OOCSS"],"author":{"name":"Brent Jackson"},"license":"MIT","bugs":{"url":"https://github.com/jxnblk/basscss-table-object/issues"},"homepage":"https://github.com/jxnblk/basscss-table-object","_id":"basscss-table-object@0.0.7","dist":{"shasum":"01204f7d187a0e8b95caf73046eb7a3671cffd45","tarball":"http://registry-npm.ywwl.com/basscss-table-object/download/basscss-table-object-0.0.7.tgz","integrity":"sha512-5BlyDpbhANJV0oXyLMciSSW938OHigd5IUD3xwY+6DDaXADlA+enpzW4APbUlINz/DZYyW4fy/IDsi5iXpz9NA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFHC6Pi5WhT4Offz804LG7XTx71y8ryUENxZdnuFDqtQIgQFbpL6tUpgvcQVIfo4LyWAxSbXYEpR+OBa5WhFbvp48="}],"size":1397,"noattachment":false,"key":"/basscss-table-object/-/basscss-table-object-0.0.7.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jxnblk","email":"jxnblk@gmail.com"},"maintainers":[{"name":"jxnblk","email":"jxnblk@gmail.com"}],"deprecated":"Deprecated in favor of basscss-utility-layout and basscss-align","directories":{},"readme":"# Basscss Table Object\n\n**This module has been deprecated in favor of basscss-utility-layout and basscss-align**\n\n<p class=\"hide\">CSS layout module to vertically center elements for Basscss.</p>\n\n<a href=\"http://basscss.com\" class=\"hide\">basscss.com</a>\n\nUse the table object to vertically center content.\nThese styles can be combined with grid width and white-space utilities\nfor a wide range of layout options.\nApply padding to `.table-cell` elements to contol spacing.\n\n```html\n<div class=\"table outline-blue\">\n  <div class=\"table-cell\">\n    <h1 class=\"m0\">.table-cell</h1>\n    <p class=\"m0\">For vertically centered content</p>\n  </div>\n  <div class=\"table-cell\">.table-cell</div>\n</div>\n```\n\n## Flag Object\nThe flag object can be emulated by adding `.full-width` to one of the cells.\nTo add padding to the body, nest another div within the full-width cell.\n\n```html\n<div class=\"table outline-blue\">\n  <div class=\"table-cell p2\">Image</div>\n  <div class=\"table-cell full-width\">\n    <h1 class=\"m0\">Flag Body</h1>\n    <p class=\"m0\">The full-width utility makes the table object behave like the flag object.</p>\n  </div>\n</div>\n```\n\n## Equal width cells\nUse the `.table-fixed` extension to create equal-width cells.\n\n```html\n<div class=\"table table-fixed outline-blue\">\n  <div class=\"table-cell\">\n    <h1 class=\"m0\">.table-cell</h1>\n    <p class=\"m0\">For vertically centered content</p>\n  </div>\n  <div class=\"table-cell\">.table-cell</div>\n  <div class=\"table-cell\">.table-cell</div>\n</div>\n```\n\n## Responsive Table Object\nUse breakpoint prefixes to keep table objects stacked at smaller screen sizes.\nThis is useful for things like navigation.\n\n```html\n<div class=\"sm-table mb1 outline-blue\">\n  <div class=\"sm-table-cell\">\n    <h1 class=\"m0\">.sm-table-cell</h1>\n    <p class=\"m0\">Only kicks in above the small breakpoint</p>\n  </div>\n  <div class=\"sm-table-cell\">.sm-table-cell</div>\n</div>\n<div class=\"lg-table outline-blue\">\n  <div class=\"lg-table-cell\">\n    <h1 class=\"m0\">.lg-table-cell</h1>\n    <p class=\"m0\">Only kicks in above the large breakpoint</p>\n  </div>\n  <div class=\"lg-table-cell\">.lg-table-cell</div>\n</div>\n```\n\n## Table Grid\nThe table object can be combined with grid width utilities to create vertically centered columns.\n\n```html\n<div class=\"table outline-blue\">\n  <div class=\"table-cell col-7\">\n    <h1 class=\"m0\">.table-cell.col-7</h1>\n    <p class=\"m0\">For vertically centered content</p>\n  </div>\n  <div class=\"table-cell col-5\">.table-cell.col-5</div>\n</div>\n```\n\nMIT License\n\n","publish_time":1419277349679,"_cnpm_publish_time":1419277349679,"dist-tags":{"latest":"0.0.8"}}