{"name":"basscss-base-forms","version":"1.0.1","description":"Base form styles for Basscss","repository":{"type":"git","url":"https://github.com/jxnblk/basscss-base-forms.git"},"keywords":["CSS","OOCSS","Basscss","Rework"],"author":{"name":"Brent Jackson"},"license":"MIT","bugs":{"url":"https://github.com/jxnblk/basscss-base-forms/issues"},"homepage":"https://github.com/jxnblk/basscss-base-forms","gitHead":"9e196d4fb66371f896510903708468fdb7a530bf","_id":"basscss-base-forms@1.0.1","scripts":{},"_shasum":"c40a0d9e167f591537998534e51f00af6046fefd","_from":".","_npmVersion":"2.1.14","_nodeVersion":"0.10.28","_npmUser":{"name":"jxnblk","email":"jxnblk@gmail.com"},"maintainers":[{"name":"jxnblk","email":"jxnblk@gmail.com"}],"dist":{"shasum":"c40a0d9e167f591537998534e51f00af6046fefd","tarball":"http://registry-npm.ywwl.com/basscss-base-forms/download/basscss-base-forms-1.0.1.tgz","integrity":"sha512-MSYZ+w8jHOkt+dAw+9uy3pVHVEW0bj/jl8dP5jOwReHzN1Ygv8Ap+C//op4o5Y6SxN5DEBa27OzfJkjjqe6Kcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGLA2SOI3nOemfvIiVo4kVfkTNZYgou469VOnTS2blwPAiAmalZ5f4RK7RZrB7lPT4isrwgPrZVJafI3k2tKM0gCMg=="}],"size":1455,"noattachment":false,"key":"/basscss-base-forms/-/basscss-base-forms-1.0.1.tgz"},"directories":{},"readme":"\nThis modules sets structural styles for base form elements, creating a consistent visual rhythm among forms\nwhile allowing for color to be adjusted where needed.\nThese styles do not rely on markup structure and can be combined with\nutilities to make fine-grained, contextual adjustments.\nForm element styles are intended to be interoperable with all other utility styles.\n\n\n## Inline Forms\nBy default, form elements follow browser defaults and display inline.\nNote: the `.field` style is part of `basscss-color-forms`.\n\n```html\n<form>\n  <label for=\"search\">Search</label>\n  <input id=\"search\" type=\"text\" class=\"field\">\n  <button class=\"btn btn-primary\">Go</button>\n</form>\n```\n\n## Stacked Forms\n\nUse `.block`, `.col-12`, and other layout utilities to stack form elements and adjust margins.\n\n```html\n<form class=\"sm-col-6\">\n  <label>Email Address</label>\n  <input type=\"text\" class=\"block col-12 mb1 field\">\n  <label>Password</label>\n  <input type=\"password\" class=\"block col-12 mb1 field\">\n  <label>Select</label>\n  <select class=\"block col-12 mb1 field\">\n    <option>Option 1</option>\n    <option>Option 2</option>\n    <option>Option 3</option>\n    <option>Option 4</option>\n    <option>Option 5</option>\n  </select>\n  <label class=\"block col-12 mb2\">\n    <input type=\"checkbox\" checked>\n    Remember me\n  </label>\n  <button type=\"submit\" class=\"btn btn-primary\">Sign In</button>\n  <button type=\"reset\" class=\"btn btn-primary black bg-gray\">Cancel</button>\n</form>\n```\nTo adjust the color of forms, use the styles in `basscss-color-forms` and `basscss-color-forms-dark`.\n\n","publish_time":1419873271502,"_cnpm_publish_time":1419873271502,"dist-tags":{"beta":"2.0.0-beta.4","latest":"2.0.2"}}