{"id":441988,"date":"2021-04-18T11:56:26","date_gmt":"2021-04-18T03:56:26","guid":{"rendered":"http:\/\/4563.org\/?p=441988"},"modified":"2021-04-18T11:56:26","modified_gmt":"2021-04-18T03:56:26","slug":"%e8%af%b7%e6%95%99%e4%b8%80%e4%b8%8b%e8%ae%ba%e5%9d%9b%e9%87%8c%e7%9a%84%e5%89%8d%e7%ab%af%e7%a8%8b%e5%ba%8f%e5%91%98%ef%bc%8c%e6%9c%89%e6%b2%a1%e6%9c%89%e6%96%b9%e4%be%bf%e6%8e%92%e7%89%88%e7%9a%84-c","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=441988","title":{"rendered":"\u8bf7\u6559\u4e00\u4e0b\u8bba\u575b\u91cc\u7684\u524d\u7aef\u7a0b\u5e8f\u5458\uff0c\u6709\u6ca1\u6709\u65b9\u4fbf\u6392\u7248\u7684 CSS \u6846\u67b6\u63a8\u8350\u4e00\u4e0b\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u8bf7\u6559\u4e00\u4e0b\u8bba\u575b\u91cc\u7684\u524d\u7aef\u7a0b\u5e8f\u5458\uff0c\u6709\u6ca1\u6709\u65b9\u4fbf\u6392\u7248\u7684 CSS \u6846\u67b6\u63a8\u8350\u4e00\u4e0b\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : LeeReamond <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5982\u9898\uff0c\u540e\u7aef\u7a0b\u5e8f\u5458\u4e1a\u4f59\u5ba2\u4e32\u524d\u7aef\uff0c\u5df2\u7ecf\u82e6\u607c\u4e8e css \u597d\u51e0\u5e74\u4e86\uff0c\u60f3\u95ee\u4e00\u4e0b\u6709\u6ca1\u6709\u597d\u7528\u7684\u6392\u7248\u6846\u67b6\uff0c\u652f\u6301\u54cd\u5e94\u5f0f\uff0c\u4e0d\u4f1a\u6c61\u67d3\u5b50 div \u5185\u5bb9\uff0c\u53e6\u5916\u8fd8\u9700\u8981\u9002\u914d vue \u65e0\u5751\u7684\u3002<\/p>\n<p>\u6211\u7684\u9700\u6c42\u57fa\u672c\u662f\u5982\u4e0b\u8fd9\u6837\uff1a<\/p>\n<p>\u5de5\u4f5c\u4e2d\u7ecf\u5e38\u9047\u5230\u4e00\u4e9b\u5e38\u89c1\u6392\u7248\uff0c\u6bd4\u5982\u6211\u9700\u8981\u4ecb\u7ecd\u4e00\u4e2a\u4ea7\u54c1\uff0c\u90a3\u4e48\u7ecf\u5e38\u6765\u8bf4\u662f\u6211\u9700\u8981\u4e24\u4e2a div\uff0c\u4e00\u4e2a\u653e\u56fe\u7247\uff0c\u4e00\u4e2a\u653e\u6587\u5b57\u4ecb\u7ecd\u3002<\/p>\n<p>\u5728\u7528\u6237\u662f\u6a2a\u5c4f\u72b6\u6001\u4e0b\uff08\u6bd4\u5982\u9875\u9762\u5bbd\u5ea6\u5927\u4e8e 1024 \u65f6\uff09\uff0c\u6211\u5e0c\u671b\u8fd9\u4e24\u4e2a div \u6c34\u5e73\u5e73\u5747\u5206\u5e03\uff0c\u5373\u5206\u522b\u5360\u636e\u5c4f\u5e55\u7684\u5de6\u53f3\u5404 50%\u3002\u6bd4\u5982\u6587\u5b57\u653e\u5728\u5de6\u8fb9\uff0c\u56fe\u7247\u653e\u5728\u53f3\u8fb9\u3002\u6587\u5b57\u9700\u8981\u6839\u636e\u5bbd\u5ea6\u81ea\u52a8\u6362\u884c\u8fd9\u4e2a\u4e0d\u63d0\u4e86\uff0c\u56fe\u7247\u7684\u8bdd\uff0c\u6211\u5e0c\u671b\u5b83\u80fd\u5728\u51e0\u4e2a\u65ad\u70b9\u4e0b\u663e\u793a\u4e0d\u540c\u5bbd\u5ea6\uff08\u6bd4\u5982\u9875\u9762\u5bbd\u5ea6\u5927\u4e8e 2048\uff0c\u90a3\u56fe\u7247\u5bbd\u5ea6\u5c31\u5b9a\u4f4d 750\uff0c\u5982\u679c\u5927\u4e8e 1280\uff0c\u90a3\u5c31\u5b9a\u4e3a 600\uff0c\u5982\u679c\u5927\u4e8e 1024\uff0c\u5c31\u5b9a\u4f4d 500 \uff09\u8bf8\u5982\u8fd9\u7c7b\u65ad\u70b9\u5199\u6cd5\uff0c\u4e0d\u540c\u7684\u56fe\u7247\u5927\u5c0f\u53ef\u4ee5\u4fdd\u8bc1\u6bd4\u5982\u9875\u9762\u8fc7\u5927\u7684\u65f6\u5019\u56fe\u4e0d\u81f3\u4e8e\u592a\u5c0f\uff0c\u800c\u9875\u9762\u7f29\u5c0f\u4e86\uff0c\u56fe\u4e5f\u4e0d\u81f3\u4e8e\u88ab\u6324\u51fa\u5c4f\u5e55\uff08\u6211\u76ee\u524d\u53ea\u4f1a\u5199\u6b7b\u5927\u5c0f\uff0c\u6216\u8005\u5b8c\u5168\u8ba9\u56fe\u7247\u5927\u5c0f\u968f div \u5927\u5c0f\u6301\u7eed\u53d8\u5316\uff0c\u6548\u679c\u90fd\u4e0d\u597d\uff09<\/p>\n<p>\u7136\u540e\u8fdb\u4e00\u6b65\u5730\uff0c\u6211\u5e0c\u671b\u5f53\u5bbd\u5ea6\u5c0f\u4e8e 1024 \u65f6\uff08\u5047\u8bbe\u8fd9\u65f6\u5019\u662f\u7ad6\u5c4f\uff09\uff0c\u90a3\u4e48\u5c31\u628a\u521a\u624d\u7684\u4e24\u4e2a div \u6539\u6210\u5782\u76f4\u653e\u7f6e\uff0c\u4e00\u4e0a\u4e00\u4e0b\u3002\u540c\u65f6\u7531\u4e8e\u6bcf\u4e2a div \u72ec\u5360\u4e00\u884c\uff0c\u90a3\u4e48\u8fd9\u65f6\u5019\u56fe\u7247\u7684\u5927\u5c0f\u5e94\u8be5\u5b8c\u5168\u968f\u9875\u9762\u5bbd\u5ea6\u7684\u53d8\u5316\u6301\u7eed\u53d8\u5316\uff0c\u4e0d\u7528\u62c5\u5fc3\u4f1a\u8ddf\u5176\u4ed6\u5185\u5bb9\u4ea7\u751f\u51b2\u7a81\u3002<\/p>\n<p>=================<\/p>\n<p>\u4ee5\u4e0a\u662f\u4e00\u4e2a\u5e38\u89c1\u9700\u6c42\uff0c\u6211\u81ea\u5df1\u8bd5\u4e86\u4e00\u4e9b css \u6846\u67b6\uff0c\u611f\u89c9\u90fd\u4e0d\u662f\u5f88\u597d\u7528\uff0c\u6700\u5927\u7684\u95ee\u9898\u662f\u6587\u6863\u975e\u5e38\u5c11\uff0c\u5927\u90e8\u5206\u5373\u4f7f\u80fd\u5b8c\u6210 div \u7ea7\u522b\u7684\u54cd\u5e94\u5f0f\u6392\u7248\uff0c\u5177\u4f53\u5230\u6211\u4e0a\u6587\u8bf4\u7684\u56fe\u7247\u5927\u5c0f\u6253\u65ad\u70b9\u65f6\u5c31\u53c8\u4e0d\u77e5\u9053\u600e\u4e48\u505a\u4e86\u3002<\/p>\n<p>\u6c42\u63a8\u8350\u4e2a\u89e3\u51b3\u65b9\u6848\uff0c\u8c22\u8c22\u5404\u4f4d<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>11<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5758288\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ZavierXu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             tailwind                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5758289\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : abersheeran <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             tailwind \u6216\u8005 purecss \u90fd\u633a\u597d\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5758290\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : LeeReamond <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ZavierXu <br \/>@abersheeran \u611f\u8c22\uff0c\u770b\u4e86\u4e00\u4e0b\u4f3c\u4e4e tailwind \u66f4\u5b8c\u5584\u4e00\u4e9b\u3002\u53e6\u5916\u5410\u69fd\u4e00\u4e0b purecss \u8fd9\u4e2a\u540d\u5b57\u8d77\u7684\u5f88\u7cdf\u7cd5\uff0c\u641c\u7d22 purecss\uff0c\u641c\u5230\u7684\u5168\u662f pure css xxx \u7684\u5185\u5bb9                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5758291\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : LeeReamond <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ZavierXu <br \/>@abersheeran \u8fd9\u4e24\u4e2a\u6846\u67b6\u4f1a\u4e0d\u4f1a\u6709 flex \u7a7f\u900f\u95ee\u9898\uff0c\u5f88\u591a\u65f6\u5019\u6bd4\u5982\u5361\u7247\u4e00\u4e2a\u4e00\u4e2a\u653e\u597d\u4f4d\u7f6e\u7528\u7684\u662f flex\uff0c\u4f46\u662f\u91cc\u9762\u53c8\u4e0d\u60f3\u7528 flex \u4e86\uff0c\u8fd8\u6709\u6bd4\u5982\u7528 echarts \u4e4b\u7c7b\u7684\u4e1c\u897f\u753b\u56fe\uff0c\u4e92\u76f8\u95f4\u4f1a\u4e0d\u4f1a\u5e72\u6270\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5758292\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ZavierXu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @LeeReamond \u6211\u81ea\u5df1\u7528\u4e0b\u6765\u611f\u89c9\u6ca1\u6709\u8fd9\u4e2a\u95ee\u9898\uff0cpurecss \u4e0d\u592a\u4e86\u89e3                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5758293\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : DrakeXiang <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @LeeReamond flex \u6ca1\u6709\u7a7f\u900f\u8fd9\u79cd\u6548\u679c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5758294\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : abersheeran <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u4f1a\u3002<br \/>@LeeReamond                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5758295\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jirajine <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             purecss \u7b80\u5355\u5e03\u5c40\u5f88\u65b9\u4fbf\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5758296\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xarthur <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u662f\u524d\u7aef\u3002\u4e0d\u8fc7 tailwind \u5e94\u8be5\u7b26\u5408\u4f60\u7684\u8981\u6c42\u3002<br \/>\u53e6\u5916\u5bf9\u4e8e\u82e6\u96be CSS \u6392\u7248\u7684\uff0c\u53ef\u4ee5\u76f4\u63a5\u5b66 Flex \u548c Grid\uff0cfloat \u5c31\u4e0d\u8981\u53bb\u7814\u7a76\u4e86\u3002<br \/>\u7136\u540e\u770b\u4e00\u4e0b position \u5c31\u5dee\u4e0d\u591a\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5758297\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zxCoder <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5176\u5b9e\u4e0a\u63a8\u8350\u7684\u8fd9\u4e9b\u8981\u5b66\u4f1a\u4e5f\u662f\u5f88\u96be\u7684\u3002\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5758298\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 66beta <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             tailwind \u53ef\u80fd\u6700\u9002\u5408\u4e3b\u5b8c\u5168\u4e0d\u61c2 css \u60c5\u51b5\uff0c\u4f46\u5404\u79cd\u914d\u7f6e\u4e00\u641e\uff0c\u96c6\u6210\u8fdb\u6765\u4e5f\u5f88\u70e6\u7684<br \/>\u4e0d\u5982\u5b66\u4e00\u4e0b css\uff0c\u4e0d\u7528\u5f88\u6df1\u5165\uff0c\u4f1a media query \u5c31\u884c\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u8bf7\u6559\u4e00\u4e0b\u8bba\u575b\u91cc\u7684\u524d\u7aef\u7a0b\u5e8f\u5458\uff0c\u6709\u6ca1\u6709&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\/441988"}],"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=441988"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/441988\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=441988"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=441988"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=441988"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}