{"id":87072,"date":"2020-04-27T02:27:06","date_gmt":"2020-04-26T18:27:06","guid":{"rendered":"http:\/\/4563.org\/?p=87072"},"modified":"2020-04-27T02:27:06","modified_gmt":"2020-04-26T18:27:06","slug":"%e6%b1%82%e5%8a%a9%e4%b8%80%e4%b8%aa-bootstrap-%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=87072","title":{"rendered":"\u6c42\u52a9\u4e00\u4e2a bootstrap \u95ee\u9898"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u6c42\u52a9\u4e00\u4e2a bootstrap \u95ee\u9898               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hello2060 <\/span>  <span><i><\/i> 10<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u6709\u4e09\u4e2a form, \u60f3\u628a\u4ed6\u4eec\u653e\u5728\u4e00\u884c\uff0c\u7528\u4e86 inline-block, \u7ed3\u679c\u8fd8\u662f\u6709\u7684\u8dd1\u5230\u4e0b\u4e00\u884c\u53bb\u4e86<\/p>\n<p>\u6548\u679c\u770b\u8d77\u6765\u8fd9\u6837<br \/>https:\/\/imgur.com\/a\/97Zp00w<\/p>\n<p>code \u5728\u8fd9\u91cc\uff0c<br \/>https:\/\/gist.github.com\/hxuanyu\/045e7d81cc7c8aa4115991c711c7d18d <button onclick=\"lazyGist(this)\">\u00a0\u663e\u793a Gist \u4ee3\u7801\u00a0<\/button>  <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>5<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1362333\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : SilentDepth <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u56e0\u4e3a\u592a\u5bbd\u4e86\u554a\uff0c\u4e00\u884c\u653e\u4e0d\u4e0b\u81ea\u7136\u5c31\u6298\u884c\u4e86\u3002<\/p>\n<p>Flexbox \u89e3\u541b\u6101\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1362334\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : hello2060 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @SilentDepth \u6211\u4e0d\u61c2\u524d\u7aef\u54e6\uff0c\u95ee\u9898\u6709\u70b9\u50bb\u4f60\u522b\u4ecb\u610f\uff0c\u7b2c\u4e00\u4e2a form \u91cc\u9762\u4e00\u4e2a input text, \u7b2c\u4e8c\u4e2a\u4e24\u4e2a input text, \u4ed6\u4e3a\u5565\u4e0d\u81ea\u52a8\u628a\u4ed6\u4eec\u7f29\u5c0f\u5230\u80fd\u4e00\u884c\u653e\u4e0b\u5462                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1362335\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : BryceGu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bbe\u5b9a\u4e0b\u5bbd\u5ea6 width 33.3 \u6216\u8005\u7528 bootstrap \u7684\u73ca\u683c\u5e03\u5c40                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1362336\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : SilentDepth <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             inline-block \u53ea\u662f\u4e0d\u4e3b\u52a8\u6d88\u8d39\u5269\u4f59\u6c34\u5e73\u7a7a\u95f4\u4e86\uff0c\u672c\u8eab\u6ca1\u6709\u300c\u5229\u7528\u5c3d\u53ef\u80fd\u5c11\u7684\u7a7a\u95f4\u300d\u7684\u4e49\u52a1\u3002\u4f60\u7684\u7b2c\u4e8c\u4e2a &lt;form&gt; \u91cc\u90fd\u662f\u884c\u5185\u5143\u7d20\uff0c\u4f9d\u89c4\u5219\u5404\u81ea\u5728\u6c34\u5e73\u8f74\u4e0a\u627e\u4f4d\u7f6e\uff0c\u80fd\u4e0d\u6362\u884c\u5c31\u4e0d\u6362\u884c\uff08\u56e0\u4e3a\u4f60\u6ca1\u9650\u5236\u7236\u5bb9\u5668\u7684\u5bbd\u5ea6\uff0cwidth: auto \u4e0d\u7b97\u9650\u5236\uff09\u3002\u4e8e\u662f\u7b2c\u4e8c\u4e2a &lt;form&gt; \u5c31\u88ab\u5176\u4e2d\u7684\u5143\u7d20\u4e00\u6b65\u6b65\u5403\u6ee1\u6574\u4e2a container \u7684\u5bbd\u5ea6\uff08\u6ca1\u518d\u7ee7\u7eed\u53d8\u5bbd\u662f\u56e0\u4e3a container \u660e\u786e\u4e86\u5bbd\u5ea6\uff09\u3002<\/p>\n<p>&lt;input&gt; \u5143\u7d20\u4e0d\u81ea\u52a8\u7f29\u5c0f\u5bbd\u5ea6\u7684\u539f\u56e0\u8ddf Inline-block \u7c7b\u4f3c\uff08\u6ca1\u6709\u90a3\u4e2a\u4e49\u52a1\uff09\u3002\u4ee5\u53ca\u7a7a &lt;input&gt; \u6709\u81ea\u5df1\u7684\u9ed8\u8ba4\u5bbd\u5ea6\uff08\u5927\u7ea6 20 \u4e2a\u5b57\u7b26\u5bbd\uff09\u3002\u7efc\u5408\u7b97\u4e0b\u6765\u7b2c\u4e8c\u4e2a &lt;form&gt; \u5c31\u628a\u53e6\u5916\u4e24\u4e2a &lt;form&gt; \u6324\u5230\u5355\u72ec\u7684\u884c\u4e0a\u4e86\u3002<\/p>\n<p>\u60f3\u5b9e\u73b0\u4f60\u9884\u671f\u7684\u6548\u679c\u6709 3 \u4e2a\u529e\u6cd5\uff1a<\/p>\n<p>1. \u660e\u786e\u76f8\u5173\u5143\u7d20\u7684\u5bbd\u5ea6\uff08\u9700\u8981\u7ed3\u5408 container \u5bbd\u5ea6\u8fdb\u884c\u8ba1\u7b97\uff0c\u9700\u8981\u6ce8\u610f container \u7684\u5bbd\u5ea6\u662f\u4e0d\u56fa\u5b9a\u7684\uff09<br \/>2. \u8ba9\u7b2c\u4e8c\u4e2a &lt;form&gt; \u91cc\u7684\u5143\u7d20\u5782\u76f4\u6392\u5217\uff08 display \u4e5f\u884c\uff0c\u5404\u81ea\u5957\u5230 &lt;div&gt; \u91cc\u4e5f\u884c\uff09<br \/>3. \u7528 Flexbox \uff08\u63a8\u8350\u8fd9\u4e48\u505a\uff0c\u5982\u679c\u4f60\u4e0d\u9700\u8981\u517c\u5bb9\u65e7\u7248 IE \u7684\u8bdd\uff09                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1362337\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lbyo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u770b\u770b\u8fd9\u4e2a\uff0c\u5e94\u8be5\u53ef\u4ee5\u6ee1\u8db3\u4f60\u7684\u9700\u6c42<br \/>https:\/\/getbootstrap.com\/docs\/4.4\/layout\/grid\/                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6c42\u52a9\u4e00\u4e2a bootstrap \u95ee\u9898&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/87072"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=87072"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/87072\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=87072"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=87072"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=87072"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}