{"id":6334,"date":"2024-04-14T19:00:19","date_gmt":"2024-04-14T11:00:19","guid":{"rendered":"https:\/\/webflow.tenten.co\/?p=6334"},"modified":"2024-04-14T19:00:19","modified_gmt":"2024-04-14T11:00:19","slug":"uniform-size-layouts-with-flexbox","status":"publish","type":"post","link":"https:\/\/webflow.tenten.co\/zh_cn\/uniform-size-layouts-with-flexbox\/","title":{"rendered":"\u4f7f\u7528 flexbox \u5b9e\u73b0\u7edf\u4e00\u5c3a\u5bf8\u5e03\u5c40"},"content":{"rendered":"<div class=\"docs_rich-text w-richtext\">\n<p>\u5f53\u4f7f\u7528 <a href=\"https:\/\/help.webflow.com\/article\/columns\">\u5217\u5143\u7d20<\/a>\uff0c\u5b9e\u73b0\u6240\u6709\u5217\u7684\u9ad8\u5ea6\u76f8\u7b49\u53ef\u80fd\u5177\u6709\u6311\u6218\u6027\uff0c\u5c24\u5176\u662f\u5f53\u6bcf\u5217\u5305\u542b\u4e0d\u540c\u7684\u5185\u5bb9\u65f6\u3002\u867d\u7136\u8bbe\u7f6e\u56fa\u5b9a\u50cf\u7d20\u9ad8\u5ea6\u662f\u53ef\u80fd\u7684\uff0c\u4f46\u5b83\u53ef\u80fd\u4f1a\u5bfc\u81f4\u91cd\u6392\u95ee\u9898\u3002\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5c06\u63a2\u8ba8\u5982\u4f55\u4f7f\u7528\u5f39\u6027\u6846\u5efa\u7acb\u7edf\u4e00\u5927\u5c0f\u7684\u5e03\u5c40\u3002\u00a0<\/p>\n<h5>\u5728\u6b64\u6559\u5b66\u8bfe\u7a0b\u4e2d<\/h5>\n<ul>\n<li>\u5efa\u7acb\u5e03\u5c40<\/li>\n<li>\u8c03\u6574\u7236\u7ea7\u4ee5\u4f7f\u5176\u5f2f\u66f2\uff0c\u5e76\u5bf9\u9f50\u5b50\u7ea7\u4ee5\u4f7f\u5176\u4f38\u5c55<\/li>\n<li>\u786e\u5b9a\u5217\u5bbd<\/li>\n<li>\u5e94\u7528\u81ea\u52a8\u8fb9\u8ddd\u6280\u672f<\/li>\n<\/ul>\n<h5>\u5f00\u59cb\u4e4b\u524d<\/h5>\n<p>\u8981\u590d\u5236\u89c6\u9891\u4e2d\u770b\u5230\u7684\u521d\u59cb\u5e03\u5c40\uff0c\u8bf7\u5728\u9875\u9762\u4e0a\u63d2\u5165\u4e00\u4e2a div \u5757\u3002\u5728\u5176\u4e2d\u586b\u5145\u4e00\u4e9b\u5185\u5bb9\uff1a\u6807\u9898\u3001\u6bb5\u843d\u3001\u6309\u94ae\u3002\u590d\u5236 div \u5757\u4e24\u6b21\uff0c\u4ee5\u83b7\u5f97 3 \u4e2a div \u5757\uff0c\u6bcf\u4e2a\u5757\u90fd\u6709\u5185\u5bb9\u3002\u6839\u636e\u9700\u8981\u4fee\u6539\u5185\u5bb9\u3002<\/p>\n<h2>\u5efa\u7acb\u5e03\u5c40<\/h2>\n<p>\u4f8b\u5982\uff0c\u5047\u8bbe\u9875\u9762\u4e0a\u5df2\u7ecf\u6709\u4e09\u4e2a\u5305\u542b\u5185\u5bb9\u7684 div \u5757\uff0c\u6bcf\u4e2a\u5757\u90fd\u5177\u6709\u76f8\u540c\u7684\u7c7b\u540d\u548c\u6837\u5f0f\u3002\u6211\u4eec\u5c06\u5411\u9875\u9762\u5f15\u5165\u4e00\u4e2a\u5bb9\u5668\uff0c\u4e3a\u5176\u5206\u914d\u4e00\u4e2a\u7c7b\uff0c\u7136\u540e\u5c06\u8fd9\u4e09\u4e2a div \u5757\u63d2\u5165\u5176\u4e2d\u3002<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1501px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow-s3.tenten.co\/2024\/04\/64b949de147ed104a973c984_61315cf01045377d6dc1c9cd_equal-height-flexbox_1.png\" loading=\"lazy\" width=\"auto\" height=\"auto\" alt='\u4e09\u4e2a\u540d\u4e3a\u201cPricing block\u201d\u7684 div \u4f4d\u4e8e\u540d\u4e3a\u201cFlex \u5bb9\u5668\u201d\u7684\u5bb9\u5668\u5185\u3002\u8fd9\u4e9b div \u5404\u5305\u542b\u6587\u672c\u548c\u4e00\u4e2a\u6309\u94ae\u3002\u5b83\u4eec\u5782\u76f4\u5806\u53e0\uff0c\u7b2c\u4e8c\u4e2a div \u5e26\u6709\u7eff\u8272\u201c\u6700\u4f73\u9009\u62e9\u201d\u5fbd\u7ae0\u3002' title=\"64b949de147ed104a973c984_61315cf01045377d6dc1c9cd_\u7b49\u9ad8-\u5f39\u6027\u6846_1\"><\/div>\n<\/figure>\n<h2>\u8c03\u6574\u7236\u7ea7\u4ee5\u4f7f\u5176\u5f2f\u66f2\uff0c\u5e76\u5bf9\u9f50\u5b50\u7ea7\u4ee5\u4f7f\u5176\u4f38\u5c55<\/h2>\n<p>\u4e00\u65e6\u4e09\u4e2a div \u5757\u5d4c\u5957\u5728\u5bb9\u5668\u5185\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5c06\u5bb9\u5668\u7684\u663e\u793a\u8bbe\u7f6e\u66f4\u6539\u4e3a flex\u3002<\/p>\n<p>\u9ed8\u8ba4\u7684 flex \u8bbe\u7f6e\u914d\u7f6e\u4e3a <strong>\u65b9\u5411\uff1a\u6c34\u5e73\uff0c<\/strong><strong>\u8bc1\u660e\uff1a\u5f00\u59cb<\/strong>\uff0c \u548c <strong>\u5bf9\u9f50\uff1a\u62c9\u4f38<\/strong>\uff0c\u7cbe\u786e\u6ee1\u8db3\u9ad8\u5ea6\u5747\u5300\u7684\u8981\u6c42\u3002<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-center\" data-rt-type=\"image\" data-rt-align=\"center\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow-s3.tenten.co\/2024\/04\/64b949de147ed104a973c997_613156d25514b208bb823308_equal-height-flexbox_2.png\" loading=\"lazy\" width=\"auto\" height=\"auto\" alt=\"\u5e03\u5c40\u8bbe\u7f6e\u8bbe\u4e3a\u663e\u793a\u5f39\u6027\u3001\u65b9\u5411\u6c34\u5e73\u3001\u5bf9\u9f50\u62c9\u4f38\u548c\u5de6\u5bf9\u9f50\u3002\u73b0\u5728\uff0c\u4e09\u4e2a div \u6392\u5217\u5728\u4e00\u884c\u4e2d\uff0c\u5bbd\u5ea6\u5404\u4e0d\u76f8\u540c\u3002\" title=\"64b949de147ed104a973c997_613156d25514b208bb823308_\u7b49\u9ad8-\u5f39\u6027\u6846_2\"><\/div>\n<\/figure>\n<h2>\u786e\u5b9a\u5217\u5bbd<\/h2>\n<p>\u4f46\u8bf7\u6ce8\u610f\uff0cdiv \u7684\u5bbd\u5ea6\u5e76\u4e0d\u7edf\u4e00\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u5c06 div \u5757\u7684\u5bbd\u5ea6\u8bbe\u7f6e\u4e3a\u6765\u5b9e\u73b0\u7edf\u4e00 <strong>33.33%<\/strong> \uff08\u6216\u8005\uff0c\u4f60\u53ef\u4ee5\u6267\u884c\u5982\u4e0b\u8ba1\u7b97 <strong>100\/3%<\/strong>\uff0c\u7136\u540e\u6309 Enter \u952e\uff09\u3002\u6216\u8005\uff0c\u60a8\u53ef\u4ee5\u5c06 div \u5757\u7684 flex \u5b50\u9879\u8bbe\u7f6e\u6307\u5b9a\u4e3a <strong>\u6269\u5f20\u3002<\/strong><\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-center\" data-rt-type=\"image\" data-rt-align=\"center\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow-s3.tenten.co\/2024\/04\/64b949de147ed104a973c97d_6131552b3042050ed42fe024_equal-height-flexbox_3.png\" loading=\"lazy\" width=\"auto\" height=\"auto\" alt=\"\u4e24\u4e2a\u9762\u677f\u5e76\u6392\u663e\u793a\u5c3a\u5bf8\u8bbe\u7f6e\u3002\u5de6\u4fa7\u9762\u677f\u663e\u793a\u5bbd\u5ea6\u8bbe\u7f6e\u4e3a 33.33%\u3002\u53f3\u4fa7\u9762\u677f\u663e\u793a\u8f93\u5165\u5b57\u6bb5\u4e2d\u7684\u5bbd\u5ea6\u4e3a 100 \u9664\u4ee5 3%\u3002\" title=\"64b949de147ed104a973c97d_6131552b3042050ed42fe024_\u7b49\u9ad8-\u5f39\u6027\u6846_3\"><\/div>\n<\/figure>\n<h2>\u81ea\u52a8\u4fdd\u8bc1\u91d1\u6280\u672f<\/h2>\n<p>\u5728\u8fd9\u4e2a\u573a\u666f\u4e2d\uff0c\u6211\u4eec\u7684\u76ee\u6807\u662f\u7edf\u4e00\u5bf9\u9f50 div \u5185\u7684\u5185\u5bb9\u3002\u8fd9\u4e5f\u53ef\u4ee5\u4f7f\u7528 flexbox \u914d\u7f6e\u6765\u5b9e\u73b0\u3002<\/p>\n<ol>\n<li>\u9009\u62e9\u5176\u4e2d\u4e00\u4e2a div<\/li>\n<li>\u4fee\u6539\u5176\u663e\u793a\u8bbe\u7f6e\u4ee5\u5f39\u6027<\/li>\n<li>\u5c06 Flex \u5e03\u5c40\u914d\u7f6e\u4e3a\u5782\u76f4<\/li>\n<li>\u9009\u62e9\u6309\u94ae<\/li>\n<li>\u5c06\u5176\u4e0a\u8fb9\u8ddd\u8c03\u6574\u4e3a\u81ea\u52a8<\/li>\n<\/ol>\n<p>\u56e0\u6b64\uff0c\u6309\u94ae\u7684\u8fb9\u8ddd\u5c06\u81ea\u52a8\u9002\u5e94\uff0c\u4ece\u800c\u4f7f\u4e09\u4e2a\u6309\u94ae\u7edf\u4e00\u5bf9\u9f50\u3002<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1501px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow-s3.tenten.co\/2024\/04\/64b949de147ed104a973c980_613156e0baf2487ecdba5308_equal-height-flexbox_4.png\" loading=\"lazy\" width=\"auto\" height=\"auto\" alt='\u5de6\u4fa7\uff0c\u5e26\u6709\u201c\u7acb\u5373\u8054\u7cfb\u201d\u6587\u672c\u7684\u6309\u94ae\u88ab\u9009\u4e2d\u3002\u53f3\u4fa7\uff0c\u9876\u90e8\u8fb9\u7f18\u7684\u5f39\u51fa\u7a97\u53e3\u663e\u793a\u6b63\u5728\u8fd0\u884c\u7684\u81ea\u52a8\u8bbe\u7f6e\u3002\u6b64\u8bbe\u7f6e\u88ab\u7a81\u51fa\u663e\u793a\u3002' title=\"64b949de147ed104a973c980_613156e0baf2487ecdba5308_\u7b49\u9ad8-\u5f39\u6027\u6846_4\"><\/div>\n<\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"\u4f7f\u7528 flexbox \u4e3a\u5217\u8bbe\u7f6e\u76f8\u540c\u7684\u9ad8\u5ea6 \u2014 \u2014 \u5373\u4f7f\u6bcf\u5217\u7684\u5185\u5bb9\u90fd\u4e0d\u540c\u3002","protected":false},"author":2,"featured_media":6335,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":"","footnotes":""},"categories":[284],"tags":[],"class_list":{"0":"post-6334","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-layout-design","8":"cs-entry"},"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/posts\/6334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/comments?post=6334"}],"version-history":[{"count":0,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/posts\/6334\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/media\/6335"}],"wp:attachment":[{"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/media?parent=6334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/categories?post=6334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webflow.tenten.co\/zh_cn\/wp-json\/wp\/v2\/tags?post=6334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}