{"id":9453,"date":"2020-06-07T22:57:30","date_gmt":"2020-06-07T14:57:30","guid":{"rendered":"https:\/\/www.zhangxinxu.com\/wordpress\/?p=9453"},"modified":"2020-06-07T22:57:30","modified_gmt":"2020-06-07T14:57:30","slug":"css-gap-history","status":"publish","type":"post","link":"https:\/\/www.zhangxinxu.com\/wordpress\/2020\/06\/css-gap-history\/","title":{"rendered":"CSS gap\u5c5e\u6027\u8fdb\u5316\u53f2"},"content":{"rendered":"<p>by <a href=\"https:\/\/www.zhangxinxu.com\/\">zhangxinxu<\/a> from <a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/?p=9453\">https:\/\/www.zhangxinxu.com\/wordpress\/?p=9453<\/a><br \/>\n\u672c\u6587\u6b22\u8fce\u5206\u4eab\u4e0e\u805a\u5408\uff0c\u5168\u6587\u8f6c\u8f7d\u5c31\u4e0d\u5fc5\u4e86\uff0c\u5c0a\u91cd\u7248\u6743\uff0c\u5708\u5b50\u5c31\u8fd9\u4e48\u5927\uff0c\u82e5\u6025\u7528\u53ef\u4ee5\u8054\u7cfb\u6388\u6743\u3002<\/p>\n<p><script>window.wxShareImgUrl = 'https:\/\/www.zhangxinxu.com\/study\/image\/share\/202006-gap.png';<\/script><\/p>\n<h3>\u4e00\u3001CSS\u89c4\u8303\u8d70\u6a21\u5757\u7684\u540e\u9057\u75c7<\/h3>\n<p>\u4ee5\u524d\u7684CSS\u89c4\u8303\uff0c\u90fd\u662f\u6574\u5728\u4e00\u8d77\u7684\u3002\u6309\u7167\u7248\u672c\u8d70\u7684\u3002\u4e5f\u5c31\u662f\u8bf4\uff0cCSS\u8981\u60f3\u53d1\u4e00\u4e2a\u65b0\u7684\u7248\u5fc5\u987b\u6240\u6709\u7684\u5c5e\u6027\u5168\u90fd\u901a\u8fc7\u3002\u5c31\u5e26\u6765\u4e00\u4e2a\u95ee\u9898\uff0c\u90a3\u5c31\u662fCSS\u89c4\u8303\u975e\u5e38\u96be\u4ea7\u3002\u53ea\u8981\u6709\u4e00\u4e2aCSS\u5c5e\u6027\u6709\u4e89\u8bae\uff0c\u65e0\u6cd5\u8fbe\u6210\u4e00\u81f4\uff0c\u90a3\u4e48\u8fd9\u4e2a\u7248\u672c\u7684CSS\u89c4\u8303\u5c31\u65e0\u6cd5\u53d1\u5e03\u3002\u4eceCSS2.1\u5230CSS3\uff0c\u4e2d\u95f4\u7ecf\u5386\u4e86\u5dee\u4e0d\u591a\u6709\u5341\u5e74\u7684\u65f6\u95f4\u5c31\u662f\u56e0\u4e3a\u8fd9\u6837\u7684\u539f\u56e0\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202006\/gap-cover.png\" width=\"161\" height=\"100\" alt=\"\u871c\u74dc\u5360\u4f4d\" class=\"alignleft size-medium\" \/><\/p>\n<p>\u4e8e\u662f\u540e\u6765\uff0cCSS3\u89c4\u8303\u4e4b\u540e\uff0c\u5c31\u5f00\u59cb\u505a\u4e86\u8c03\u6574\uff0c\u65b0\u7684CSS\u7279\u6027\u518d\u4e5f\u4e0d\u6309\u7167\u4e00\u4e2a\u5927\u7684\u7248\u672c\u8fdb\u884c\u8fed\u4ee3\uff0c\u800c\u662f\u6309\u7167\u4e00\u4e2a\u4e00\u4e2a\u5177\u4f53\u7684\u6a21\u5757\u8fdb\u884c\u5236\u5b9a\u3002<\/p>\n<p>\u4e8e\u662f\u5927\u5bb6\u53ef\u4ee5\u53d1\u73b0\uff0c\u5728\u5f88\u77ed\u7684\u65f6\u95f4\u5185\uff0c\u5404\u79cd\u5404\u6837\u7684CSS\u65b0\u7279\u6027\u90fd\u51fa\u73b0\u4e86\u3002\u6d4f\u89c8\u5668\u652f\u6301\u8fd9\u4e9b\u7279\u6027\uff0c\u4e0d\u9700\u8981\u7b49\u5f85\u4e00\u4e2a\u5b8c\u6574\u7684\u53d1\u7248\u8fc7\u7a0b\uff0c\u53ea\u9700\u8981\u6d4f\u89c8\u5668\u5382\u5546\u89c9\u5f97\u8fd9\u4e2a\u6a21\u5757\u91cc\u8fd9\u4e2a\u4e1c\u897f\u5f88\u5408\u9002\uff0c\u90a3\u6211\u5c31\u53bb\u652f\u6301\u4ed6\uff0c\u54ea\u6015\u4ed6\u73b0\u5728\u8fd8\u4e0d\u7a33\u5b9a\uff0c\u8fd8\u5728\u5b9e\u9a8c\u9636\u6bb5\u3002<\/p>\n<p>\u5178\u578b\u7684\u6848\u4f8b\u5c31\u662f<code>env()<\/code>\u73af\u5883\u53d8\u91cf\uff0c\u4ee5\u53ca\u9ed1\u6697\u6a21\u5f0f\u7684\u5a92\u4f53\u7279\u6027\u652f\u6301\u3002<\/p>\n<p>\u8fd9\u6837\u4e00\u4e2aCSS\u89c4\u8303\u7b56\u7565\u786e\u5b9e\u7e41\u8363\u4e86CSS\uff0c\u4f46\u662f\u4e5f\u5e26\u6765\u4e86\u4e00\u4e2a\u540e\u9057\u75c7\uff0c\u4ec0\u4e48\u540e\u9057\u75c7\u5462\uff1f\u5c31\u662f\u7531\u4e8e\u5404\u4e2a\u6a21\u5757\u72ec\u7acb\u53d1\u5c55\uff0c\u5bfc\u81f4\u539f\u672c\u5f88\u591a\u7c7b\u4f3c\u7684\u5c5e\u6027\u5e76\u6ca1\u6709\u5927\u7edf\u4e00\uff0c\u5404\u8d70\u5404\u7684\uff0c\u5e26\u6765\u4e86\u4e00\u4e9b\u5185\u8017\uff0c\u4e5f\u5c31\u662f\u65e0\u8c13\u7684\u5b66\u4e60\u6210\u672c\u3002<\/p>\n<p>\u5f88\u5178\u578b\u7684\u4f8b\u5b50\u5c31\u662f\u5bf9\u9f50\u5c5e\u6027\u3002<\/p>\n<p>Flex\u5e03\u5c40\u4e2d\u7684\u5bf9\u9f50\u548cGrid\u5bf9\u9f50\u660e\u660e\u5c5e\u6027\u548c\u4f5c\u7528\u662f\u4e00\u6837\u7684\uff0c\u4f46\u662f\u5c5e\u6027\u503c\u5374\u4e0d\u4e00\u6837\u3002<\/p>\n<p>\u4f8b\u5982Flex\u5e03\u5c40\u4e2d<code>justify-content<\/code>\u5c5e\u6027\u652f\u6301\u7684\u662f<code>flex-start<\/code>\u548c<code>flex-end<\/code>\uff0c\u4e0d\u652f\u6301<code>start<\/code>\u548c<code>end<\/code>\uff08\u4ee5\u540e\u53ef\u80fd\u4f1a\u652f\u6301\uff09\uff1bGrid\u5e03\u5c40\u4e2d<code>justify-content<\/code>\u5c5e\u6027\u652f\u6301\u7684<code>start<\/code>\u548c<code>end<\/code>\uff0c\u540c\u65f6\u4e5f\u652f\u6301<code>flex-start<\/code>\u548c<code>flex-end<\/code>\uff01\u3010\u8d39\u89e3\u7684\u3011<img loading=\"lazy\" decoding=\"async\" src=\"\/\/image.zhangxinxu.com\/image\/emtion\/emoji\/1f914.svg\" width=\"20\" height=\"20\" align=\"absmiddle\"><\/p>\n<p>\u5c31\u662f\u56e0\u4e3aFlex\u5e03\u5c40\u6a21\u5757\u548cGrid\u5e03\u5c40\u6a21\u5757\u662f\u4e24\u4e2a\u72ec\u7acb\u7684CSS\u6a21\u5757\uff0c\u4f30\u8ba1\u662f\u6015\u51b2\u7a81\uff0cGrid\u5e03\u5c40\u6a21\u5757\u662f\u540e\u51fa\u6765\u7684\uff0c\u6240\u4ee5\u652f\u6301\u7684\u503c\u66f4\u591a\u4e00\u4e9b\u3002<\/p>\n<p>\u540c\u6837\u7684\uff0c\u6211\u4eec\u6765\u770b\u4e0bgap\u5c5e\u6027\u7684\u53d1\u5c55\u53f2\uff0c\u4e5f\u4f1a\u770b\u5230\u7c7b\u4f3c\u7684\u201c\u540e\u9057\u75c7\u201d\u3002<\/p>\n<h3>\u4e8c\u3001gap\u4ece\u5355\u4e2a\u6a21\u5757\u5c5e\u6027\u8d70\u5411\u6574\u4e2aCSS\u4e16\u754c<\/h3>\n<p>\u5176\u5b9e\u4e00\u5f00\u59cb\u7684\u65f6\u5019\u662f\u6ca1\u6709<code>gap<\/code>\u5c5e\u6027\u7684\u3002\u6700\u5f00\u59cb\u51fa\u73b0\u7684\u7c7b\u4f3c\u7684CSS\u5c5e\u6027\u662f\u5728Grid\u5e03\u5c40\u4e2d\uff0c\u90a3\u4e2a\u65f6\u5019\u8fd8\u53eb\u505a<code>grid-gap<\/code>\uff0c\u662fCSS <code>grid-row-gap<\/code>\u548c<code>grid-column-gap<\/code>\u5c5e\u6027\u7684\u7f29\u5199\u3002<\/p>\n<p>\u540e\u6765\u4e3a\u4ec0\u4e48\u6539\u53d8\u4e86\u5462\uff1f<\/p>\n<p>\u56e0\u4e3aGrid\u89c4\u8303\u7684\u5236\u5b9a\u8005\u4eec\u4e00\u62ac\u5934\uff0c\u53d1\u73b0\uff0c\u5728Multi-column\u5e03\u5c40\u4e2d\uff0c\u4e5f\u6709\u4e00\u4e2a\u95f4\u9699\u7684\u6982\u5ff5\uff0c\u5bf9\u5e94\u7684CSS\u5c5e\u6027\u53eb\u505a<code>column-gap<\/code>\uff0cIE10\u6d4f\u89c8\u5668\u4e5f\u652f\u6301\u3002\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u5927\u597d\u6cb3\u5c71\u4e00\u7247\u7eff\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202006\/2020-06-07_223001.png\" width=\"804\" height=\"319\" alt=\"\u591a\u680f\u5e03\u5c40\u4e2dcolumn-gap\u517c\u5bb9\u6027\" class=\"alignnone size-medium\" \/><\/p>\n<p>\u8bf6\uff0c\u4f60\u770b\uff01\u5185\u8017\u4e0d\u5c31\u6765\u4e86\u5417\uff1f<\/p>\n<p>Multi-column\u5e03\u5c40\u5236\u5b9a\u7684\u975e\u5e38\u975e\u5e38\u7684\u65e9\uff0c\u5728CSS2.0\u65f6\u671f\u89c4\u8303\u5c31\u5df2\u7ecf\u5f00\u59cb\u5236\u5b9a\u4e86\uff0c\u4e0d\u8fc7\u6700\u540e\u5230\u4e86CSS3\u65f6\u4ee3\u624d\u843d\u5730\u7684\u3002<\/p>\n<p>\u4e5f\u5c31\u662f\u8bf4\uff0c\u6574\u4e2aCSS\u4e16\u754c\u4e2d\uff0c<code>column-gap<\/code>\u5c5e\u6027\u7b2c1\u4e2a\u89c4\u8303\u7684\u95f4\u9699\u5c5e\u6027\u3002<\/p>\n<p>\u4f46\u662f\uff0c\u5728Grid\u5e03\u5c40\u90a3\u91cc\uff0c\u7531\u4e8e\u4e00\u5f00\u59cb\u8fc7\u5206\u770b\u91cd\u72ec\u7acb\u6027\uff0c\u6a21\u5757\u5316\uff0c\u5e76\u6ca1\u6709\u5927\u540c\u601d\u60f3\uff0c\u4e8e\u662f\uff0c\u51fa\u73b0\u4e86<code>grid-column-gap<\/code>\u5c5e\u6027\u3002<\/p>\n<p>\u7136\u540e\uff0c\u6ca1\u591a\u4e45\uff0cGrid\u5e03\u5c40\u89c4\u8303\u610f\u8bc6\u5230\u4e86\u540c\u65f6\u5b58\u5728<code>grid-column-gap<\/code>\u548c<code>column-gap<\/code>\u5bf9\u4e8e\u5f00\u53d1\u8005\u7684\u5b66\u4e60\u800c\u8a00\uff0c\u662f\u4e0d\u53cb\u597d\u7684\uff0c\u4e00\u6837\u7684\u4f5c\u7528\uff0c\u4e00\u6837\u7684\u8bed\u4e49\uff0c\u4f7f\u7528\u4e0d\u540c\u7684\u540d\u79f0\uff0c\u8fd9\u4e0d\u5c31\u50cf\u7f51\u7edc\u4e0a\u90a3\u4e9b\u6545\u610f\u548c\u4e3b\u6d41\u89c2\u70b9\u5531\u53cd\u8c03\u6807\u65b0\u7acb\u5f02\u5237\u5b58\u5728\u611f\u81ea\u4ee5\u4e3a\u662f\u7684\u952e\u76d8\u4fa0\u5417\uff1f<\/p>\n<p>\u77e5\u9519\u80fd\u6539\u5584\u83ab\u5927\u7109\u3002<\/p>\n<p>\u4e8e\u662f\uff0c\u5f88\u5feb\uff0c<code>grid-gap<\/code>\u5c5e\u6027\u4eceGrid\u89c4\u8303\u4e2d\u53bb\u9664\u4e86\u3002<\/p>\n<p>\u56e0\u6b64\uff0c\u867d\u7136\u663e\u7136Grid\u5e03\u5c40\u8fd8\u662f\u652f\u6301<code>grid-gap<\/code>\u5c5e\u6027\uff0c\u4f46\u662f\uff0c\u8bf7\u4e0d\u8981\u518d\u4f7f\u7528\u4e86\uff0c\u8bf7\u4f7f\u7528<code>gap<\/code>\u3001<code>row-gap<\/code>\u548c<code>column-gap<\/code>\u5c5e\u6027\u4ee3\u66ff\uff0c\u8fd9\u624d\u662f\u65b0\u7684\u6807\u51c6\u3002<\/p>\n<p>\u76ee\u524dgap\u5c5e\u6027\u5728Grid\u5e03\u5c40\u4e2d\u7684\u517c\u5bb9\u6027\u5982\u4e0b\u56fe\uff0c\u662f\u4ece2018\u5e74\u5f00\u59cb\u652f\u6301\u7684\uff0c\u4e0b\u56fe\u5e26\u6709\u4e0a\u6807\u2460\u7684\u5747\u662f\u8001\u7684<code>grid-gap<\/code>\u8bed\u6cd5\u652f\u6301\u65f6\u95f4\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202006\/2020-06-07_221840.png\" width=\"645\" height=\"320\" alt=\"gap\u5c5e\u6027\u5728Grid\u5e03\u5c40\u4e2d\u7684\u517c\u5bb9\u6027\" class=\"alignnone size-medium\" \/><\/p>\n<h4>\u539f\u6765\u7684Multi-column\u5e03\u5c40\u600e\u4e48\u529e\uff1f<\/h4>\n<p>\u53ea\u8fd9\u6837\u7684\uff0cCSS\u4e16\u754c\u6240\u6709\u7684\u95f4\u9699\u5c5e\u6027\u4f7f\u7528<code>gap<\/code>\u5c5e\u6027\u5927\u7edf\u4e00\u4e4b\u540e\uff0cMulti-column\u5e03\u5c40\u4e5f\u8fce\u6765\u4e86\u5bf9<code>gap<\/code>\u5c5e\u6027\u7684\u652f\u6301\uff0c\u6216\u8005\u8bf4\u4e30\u5bcc\u4e86\u95f4\u9699\u7684\u6982\u5ff5\u3002<\/p>\n<p>\u5728CSS\u4e16\u754c\u4e2d\uff0c\u95f4\u9699\u5206\u4e3a\u5217\u95f4\u9699\u548c\u884c\u95f4\u9699\uff0cMulti-column\u5e03\u5c40\u662f\u591a\u680f\u5e03\u5c40\uff0c\u53ea\u6709\u5217\u95f4\u9699\uff0c\u56e0\u6b64\uff0c\u53ea\u6709<code>column-gap<\/code>\u5c5e\u6027\u6709\u4f5c\u7528\uff0c\u800c<code>row-gap<\/code>\u5c5e\u6027\u867d\u7136\u8bed\u6cd5\u6b63\u786e\uff0c\u4f46\u662f\u5374\u6ca1\u6709\u5e03\u5c40\u4e0a\u7684\u8868\u73b0\uff0c\u56e0\u4e3a\u6ca1\u6709\u884c\u95f4\u9699\u7684\u6982\u5ff5\u3002<\/p>\n<p>\u540c\u6837\u7684\uff0c<code>gap<\/code>\u5c5e\u6027\u4e5f\u53ef\u4ee5\u7528\u5728Multi-column\u5e03\u5c40\u4e2d\uff0c\u7528\u6765\u8bbe\u7f6e\u5217\u95f4\u9699\uff0c\u5b9e\u9645\u4e0a\uff0c\u8d77\u4f5c\u7528\u7684\u662f<code>column-gap<\/code>\u5c5e\u6027\u3002<\/p>\n<p>\u517c\u5bb9\u6027\u5982\u4e0b\u56fe\uff08Safari\u6d4f\u89c8\u5668\u652f\u6301\u7684\uff0c\u6709\u9519\u8bef\uff09\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202006\/2020-06-07_222604.png\" width=\"724\" height=\"262\" alt=\"gap\u5c5e\u6027\u5728columns\u5e03\u5c40\u4e2d\u7684\u517c\u5bb9\u6027\" class=\"alignnone size-medium\" \/><\/p>\n<h4>Flex\u5e03\u5c40\u600e\u4e48\u529e\uff1f<\/h4>\n<p>Flex\u5e03\u5c40\u4f5c\u4e3a1\u7ef4\u5e03\u5c40\uff0c\u4e5f\u662f\u6709\u95f4\u9699\u7684\u6982\u5ff5\u7684\uff0c\u4e8e\u662f\uff0c\u5f88\u5feb\uff0cFlex\u5e03\u5c40\u89c4\u8303\u4e5f\u5438\u7eb3\u4e86<code>gap<\/code>\u5c5e\u6027\uff0c\u4e5f\u5c31\u662fflex\u5b50\u9879\u4e4b\u95f4\u7684\u5404\u4e2a\u95f4\u9699\u4e5f\u53ef\u4ee5\u4f7f\u7528<code>gap<\/code>\u5c5e\u6027\u8fdb\u884c\u8bbe\u7f6e\u4e86\u3002<\/p>\n<p>\u53ea\u662f\uff0c<code>gap<\/code>\u5c5e\u8fdb\u5316\u5230Flex\u5e03\u5c40\u7684\u65f6\u95f4\u6709\u70b9\u665a\uff0c\u4e0d\u8fc7\uff0c\u53ef\u4ee5\u770b\u5230\u6700\u65b0\u7684Chrome\u6d4f\u89c8\u5668\u5df2\u7ecf\u652f\u6301\u4e86\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202006\/2020-06-07_223532.png\" width=\"572\" height=\"345\" alt=\"gap\u5c5e\u6027\u5728flex\u5e03\u5c40\u4e2d\u7684\u517c\u5bb9\u6027\" class=\"alignnone size-medium\" \/><\/p>\n<p>\u5047\u4ee5\u65f6\u65e5\u5c31\u53ef\u4ee5\u4f7f\u7528\u4e86\u3002<\/p>\n<h3>\u4e09\u3001gap\u5c5e\u6027\u8fdb\u5316\u53f2\u56de\u987e<\/h3>\n<p>\u5982\u4e0b\uff1a<\/p>\n<ol>\n<li>Multi-column\u5e03\u5c40\u9996\u5148\u652f\u6301\u4e86<code>column-gap<\/code>\u5c5e\u6027\u3002<\/li>\n<li>Grid\u5e03\u5c40\u89c4\u8303\u6a21\u5757\u72ec\u7acb\u53d1\u5c55\uff0c\u51fa\u73b0\u4e86grid\u5e03\u5c40\u72ec\u6709\u7684\u95f4\u9699\u5c5e\u6027<code>grid-gap<\/code>\uff0c<code>grid-row-gap<\/code>\u548c<code>grid-column-gap<\/code>\u3002<\/li>\n<li>\u7ad9\u5728CSS\u4e16\u754c\u6574\u4f53\u89c6\u89d2\uff0cCSS\u95f4\u9699\u5c5e\u6027\u51fa\u73b0\u4e86\u5185\u8017\u3002\u4e8e\u662f\uff0c\u89c4\u8303\u8c03\u6574\uff0c\u4fdd\u7559\u5217\u95f4\u9699\u548c\u884c\u95f4\u9699\u7684\u6982\u5ff5\uff0c\u4f46\u662fCSS\u5c5e\u6027\u5411\u5df2\u7ecf\u5b58\u5728\u7684<code>column-gap<\/code>\u5c5e\u6027\u9760\u62e2\u3002\u4e8e\u662f\uff0c<code>gap<\/code>\uff0c<code>row-gap<\/code>\u548c<code>column-gap<\/code>\u5c5e\u6027\u8bde\u751f\uff0c\u6210\u4e3aCSS\u4e16\u754c\u4e2d\u7edf\u4e00\u7684\u95f4\u9699\u5c5e\u6027\u3002<\/li>\n<li>Multi-column\u5e03\u5c40\u4e5f\u989d\u5916\u652f\u6301\u4e86<code>gap<\/code>\u548c<code>row-gap<\/code>\u5c5e\u6027\uff0c\u53ea\u662f\u591a\u680f\u5e03\u5c40\u6ca1\u6709\u884c\u95f4\u9699\u6982\u5ff5\uff0c\u56e0\u6b64<code>row-gap<\/code>\u5c5e\u6027\u5e76\u65e0\u6e32\u67d3\u6548\u679c\u3002<\/li>\n<li>Flex\u5e03\u5c40\u4e5f\u91c7\u7528\u95f4\u9699\u7684\u6982\u5ff5\uff0c\u652f\u6301\u4e86\u7edf\u4e00\u7684<code>gap<\/code>\u5c5e\u6027\uff0c\u53ea\u662f\u521a\u652f\u6301\u4e0d\u4e45\u3002<\/li>\n<\/ol>\n<p>\u4ee5\u540e\uff0c\u5e0c\u671bCSS\u5bf9\u9f50\u5c5e\u6027\u4eec\u4e5f\u80fd\u4e00\u7edf\u6c5f\u6e56\uff0c\u4e0d\u8981\u5f04\u51fa\u90a3\u4e48\u591a\u4e0d\u540c\u7684\u503c\u51fa\u6765\u3002<\/p>\n<p>\u597d\uff0c\u672c\u6587\u5185\u5bb9\u5c31\u8fd9\u4e48\u591a\uff0c\u5e26\u5927\u5bb6\u4e86\u89e3\u4e0b<code>gap<\/code>\u5c5e\u6027\u7684\u524d\u4e16\u4eca\u751f\u3002<\/p>\n<p>\u611f\u8c22\u9605\u8bfb\uff0c\u884c\u6587\u4ed3\u4fc3\uff0c\u9519\u8bef\u5728\u6240\u96be\u514d\uff0c\u6b22\u8fce\u6307\u6b63\uff0c\u4e5f\u6b22\u8fce\u5206\u4eab\u672c\u6587\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/image.zhangxinxu.com\/image\/emtion\/emoji\/1f60f.svg\" width=\"20\" height=\"20\" align=\"absmiddle\"><\/p>\n<p>\u672c\u6587\u4e3a\u539f\u521b\u6587\u7ae0\uff0c\u6b22\u8fce\u5206\u4eab\uff0c\u52ff\u5168\u6587\u8f6c\u8f7d\uff0c\u5982\u679c\u5b9e\u5728\u559c\u6b22\uff0c\u53ef\u6536\u85cf\uff0c\u6c38\u4e0d\u8fc7\u671f\uff0c\u4e14\u4f1a\u53ca\u65f6\u66f4\u65b0\u77e5\u8bc6\u70b9\u53ca\u4fee\u6b63\u9519\u8bef\uff0c\u9605\u8bfb\u4f53\u9a8c\u4e5f\u66f4\u597d\u3002<br \/>\n\u672c\u6587\u5730\u5740\uff1a<a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/?p=9453\">https:\/\/www.zhangxinxu.com\/wordpress\/?p=9453<\/a><\/p>\n<p>\uff08\u672c\u7bc7\u5b8c\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202006\/gap-cover.png\" width=\"161\" height=\"100\" alt=\"\u871c\u74dc\u5360\u4f4d\" class=\"alignright size-medium\" loading=\"lazy\" \/><\/p>\n<p>\u5e26\u5927\u5bb6\u4e86\u89e3\u4e0b<code>gap<\/code>\u5c5e\u6027\u7684\u524d\u4e16\u4eca\u751f\uff0c\u4e86\u89e3<code>gap<\/code>\u5c5e\u6027\u5728CSS\u4e16\u754c3\u5927\u5e03\u5c40\u4e2d\u7684\u8fc7\u5f80\u548c\u73b0\u72b6\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[1404,1102,1515,1618,1514,1339,1620,1621],"_links":{"self":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/9453"}],"collection":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/comments?post=9453"}],"version-history":[{"count":0,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/9453\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/media?parent=9453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/categories?post=9453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/tags?post=9453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}