{"id":5658,"date":"2016-09-16T13:23:51","date_gmt":"2016-09-16T05:23:51","guid":{"rendered":"http:\/\/www.zhangxinxu.com\/wordpress\/?p=5658"},"modified":"2016-09-16T17:18:44","modified_gmt":"2016-09-16T09:18:44","slug":"talking-about-css-margin-box","status":"publish","type":"post","link":"https:\/\/www.zhangxinxu.com\/wordpress\/2016\/09\/talking-about-css-margin-box\/","title":{"rendered":"\u804a\u804aCSS\u4e16\u754c\u4e2d\u7684margin-box"},"content":{"rendered":"<p>by <a href=\"http:\/\/www.zhangxinxu.com\/\">zhangxinxu<\/a> from <a href=\"http:\/\/www.zhangxinxu.com\/wordpress\/?p=5658\">http:\/\/www.zhangxinxu.com\/wordpress\/?p=5658<\/a><br \/>\n\u672c\u6587\u5168\u6587\u8f6c\u8f7d\u9700\u8d2d\u4e70\u7248\u6743(500\u00a5)\uff0c\u6458\u8981\u5f15\u6d41\u5219\u514d\u8d39\uff0c\u5177\u4f53<a href=\"http:\/\/www.zhangxinxu.com\/sp\/copyright.html\" target=\"_blank\">\u53c2\u89c1\u8fd9\u91cc<\/a><\/p>\n<h3>\u4e00\u3001\u524d\u8a00<\/h3>\n<p>\u4eca\u65e5\u4e2d\u79cb\uff0c\u795d\u5927\u5bb6\u4e2d\u79cb\u8282\u5feb\u4e50\u3002\u4f46\u662f\uff0c\u6709\u4e9b\u963f\u91cc\u7684\u5c0f\u4f19\u4f34\u8fd9\u4e2a\u4e2d\u79cb\u5c31\u4e0d\u4e00\u5b9a\u5feb\u4e50\u4e86\u3002\u60f3\u60f3\u6211\u5e94\u8be5\u4e0d\u4f1a\u9047\u5230\u8fd9\u6837\u7684\u4e8b\u60c5\u7684\uff0c\u4e00\u6765\u4e0d\u559c\u6b22\u5403\u6708\u997c\uff1b\u4e8c\u6765\u6ca1\u6709\u4ec0\u4e48\u4eba\u9645\u4ea4\u5f80\uff0c\u4e0d\u5b58\u5728\u8981\u9001\u4eba\u6708\u997c\u7684\u9700\u6c42\uff1b\u4e09\u6765\u81ea\u5df1\u6700\u6015\u9ebb\u70e6\uff0c\u4ec0\u4e48\u79d2\u6740\u4e4b\u7c7b\u7684\u597d\u70e6\u7684\uff0c\u6211\u6839\u672c\u5c31\u5f53\u6ca1\u770b\u5230\uff0c\u5b89\u5fc3\u7801\u4ee3\u7801\uff1b\u56db\u6765\u6211\u538b\u6839\u4e0d\u4f1a\u77e5\u9053\u4f1a\u6709\u79d2\u6740\u6708\u997c\u8fd9\u4ef6\u4e8b\uff0c\u6211\u5bf9\u8fd9\u7c7b\u4e8b\u60c5\u7684\u77e5\u6653\u603b\u662f\u5f88\u8fdf\u949d\u7684\u3002<\/p>\n<p>\u8fd8\u662f\u804a\u804a\u6280\u672f\u5427\uff0c\u8fd9\u4e2a\u7eaf\u7cb9\u3002<\/p>\n<p>\u672c\u6587\u5185\u5bb9\u504f\u7406\u8bba\uff0c\u975e\u5b9e\u7528\u6280\u672f\uff0c\u5bf9\u4e8e\u6df1\u5165\u7406\u89e3CSS\u7684\u4e00\u4e9b\u6982\u5ff5\u548c\u8bbe\u8ba1\u5f88\u6709\u5e2e\u52a9\u3002\u672c\u6587\u6709\u4e9b\u6982\u5ff5\u5982\u679c\u4f60\u4e0d\u77e5\u9053\u8bf4\u7684\u662f\u4ec0\u4e48\u610f\u601d\uff0c\u6bd4\u65b9\u8bf4\u201c\u76d2\u5c3a\u5bf8\u201d\uff0c\u4f60\u5927\u53ef\u5ffd\u7565\u4e4b\uff0c\u5e76\u4e0d\u5f71\u54cd\u5bf9\u672c\u6587\u6838\u5fc3\u89c2\u70b9\u7684\u7406\u89e3\u3002\u8fd9\u4e9b\u6982\u5ff5\u662f\u9700\u8981\u5f88\u591a\u79ef\u7d2f\uff0c\u800c\u4e14\u5c5e\u4e8e\u4e00\u4e2a\u5b8c\u6574\u4f53\u7cfb\u91cc\u9762\u7684\uff0c\u6240\u8c13\u4f53\u7cfb\uff0c\u5c31\u662f\u4ece\u524d\u5f80\u540e\u662f\u8fde\u8d2f\u4e0b\u6765\u7684\uff0c\u800c\u76d2\u5c3a\u5bf8\u8fd9\u4e2a\u6982\u5ff5\u5904\u4e8e\u4f53\u7cfb\u7684\u4e2d\u95f4\uff0c\u76f4\u63a5\u8bb2\u76d2\u5c3a\u5bf8\u5c31\u50cf\u770b\u7535\u5f71\u76f4\u63a5\u4ece\u4e2d\u95f4\u90e8\u5206\u770b\u8d77\uff0c\u80af\u5b9a\u4f1a\u6709\u4e9b\u56f0\u60d1\uff0c\u4f46\u7531\u4e8e\u672c\u6765\u5c31\u662f\u8ba9\u5927\u5bb6\u770b\u7535\u5f71\u7cbe\u534e\u7247\u6bb5\u7684\uff0c\u56e0\u6b64\uff0c\u65e0\u788d\u3002<\/p>\n<h3>\u4e8c\u3001\u76d2\u5c3a\u5bf8(Box dimensions)\u76844\u4e2a\u76d2\u5b50<\/h3>\n<p>\u76d2\u5c3a\u5bf8\u75314\u4e2a\u76d2\u5b50\u7ec4\u6210\uff0c\u5206\u522b\u662f<code><em>content box<\/em><\/code>, <code><em>padding box<\/em><\/code>, <code><em>border box<\/em><\/code>, <code><em>margin box<\/em><\/code>\u3002\u8fd9\u4e2a\u548c\u76d2\u6a21\u578b\u4e2d\u7684\u51e0\u4e2a\u76d2\u5b50\u5176\u5b9e\u662f\u5bf9\u5e94\u7684\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201609\/box-area.png\" width=\"356\" height=\"392\" alt=\"CSS\u76d2\u5c3a\u5bf8\u533a\u57df\" class=\"alignnone\" \/><\/p>\n<p>\u8fd9\u662f\u4ed6\u4eec\u5728\u89c4\u8303\u4e2d\u7684\u79f0\u547c\uff0c\u5f53\u89c4\u8303\u843d\u5730\u5230CSS\u8bed\u8a00\u5c42\u7684\u65f6\u5019\uff0c\u6bcf\u4e2a\u76d2\u5b50\u90fd\u8d77\u4e86\u4e00\u4e2a\u5bf9\u5e94\u7684\u540d\u5b57\uff0c\u5982\u4e0b\uff1a<\/p>\n<p><code><em>content box<\/em><\/code>\u5199\u505a<code>content-box<\/code>\uff1b<br \/><code><em>padding box<\/em><\/code>\u5199\u505a<code>padding-box<\/code>\uff1b<br \/><code><em>border box<\/em><\/code>\u5199\u505a<code>border-box<\/code>\uff1b<br \/><code><em>margin box<\/em><\/code>\u5199\u505a<code>margin-box<\/code>\u3002<\/p>\n<p>\u56e0\u6b64\uff0c\u7406\u8bba\u4e0a\uff0c<code>box-sizing<\/code>\u53ef\u4ee5\u6709\u8fd9\u4e48\u4e9b\u5199\u6cd5\uff1a<\/p>\n<pre>.box1 { box-sizing: content-box; }\n.box2 { box-sizing: padding-box; }\n.box3 { box-sizing: border-box; }\n.box4 { box-sizing: margin-box; }<\/pre>\n<p>\u7406\u8bba\u7f8e\u597d\uff0c\u73b0\u5b9e\u6b8b\u9177\uff0c\u5b9e\u9645\u4e0a\uff0c\u652f\u6301\u60c5\u51b5\u5982\u4e0b\uff1a<\/p>\n<pre>.box1 { box-sizing: content-box; } <span style=\"color:green\">\/* \u9ed8\u8ba4\u503c *\/<\/span>\n<span style=\"color:gray;\">.box2 { box-sizing: padding-box; }<\/span> <span style=\"color:gray;\">\/* FireFox\u66fe\u7ecf\u652f\u6301 *\/<\/span>\n.box3 { box-sizing: border-box; }  <span style=\"color:green\">\/* \u5168\u7ebf\u652f\u6301 *\/<\/span>\n<del style=\"color:gray;\">.box4 { box-sizing: margin-box; }<\/del>  <span style=\"color:red;\">\/* \u4ece\u672a\u652f\u6301\u8fc7 *\/<\/span><\/pre>\n<p><code>margin-box<\/code>\u88ab\u65e0\u60c5\u7684\u629b\u5f03\u4e86\uff0c\u597d\u60e8\uff01<\/p>\n<p>\u7136\u800c\uff0c\u8fd9\u4e0d\u662f\u6700\u60e8\u7684\uff0c\u66f4\u60e8\u7684\u662f<code>margin-box<\/code>\u5728\u6574\u4e2aCSS\u4e16\u754c\u4e2d\u90fd\u88ab\u629b\u5f03\u4e86\uff0c\u6ca1\u9519\uff0c\u81f3\u4eca\u4e3a\u6b62\uff0cCSS\u4e2d\u6ca1\u6709\u4efb\u4f55\u5c5e\u6027\u652f\u6301<code>margin-box<\/code>\uff0c\u6bd4<code>padding-box<\/code>\u8981\u60e8\u7684\u591a\uff0c\u867d\u7136<code>padding-box<\/code>\u5728<code>box-sizing<\/code>\u5c5e\u6027\u4e2d\u8981\u88ab\u629b\u5f03\uff0c\u4f46\u662f\u4eba\u5bb6\u4f9d\u7136\u53d7\u5230<code>background-clip<\/code>\u5c5e\u6027\u7684\u9752\u7750\u3002\u4f46\u662f<code>margin-box<\/code>\u5b8c\u5168\u5c31\u65e0\u4eba\u95ee\u6d25\u3002<\/p>\n<p>\u4e8e\u662f\uff0c\u96be\u514d\u8ba9\u4eba\u7591\u60d1\uff0c\u540c\u6837\u90fd\u662f\u76d2\u5b50\uff0c\u4e3a\u4f55\u5c31<code>margin-box<\/code>\u4e0d\u652f\u6301\u5462\uff1f<\/p>\n<h3>\u4e09\u3001\u4e3a\u4f55box-sizing\u4e0d\u652f\u6301margin-box\uff1f<\/h3>\n<p>\u7f51\u4e0a\u6709\u8fd9\u6837\u7684\u8bf4\u6cd5\uff0c\u8bf4margin\u5728\u5782\u76f4\u65b9\u5411\u6709\u5408\u5e76\u91cd\u53e0\u7279\u6027\uff0c\u5982\u679c\u652f\u6301\u4e86<code>margin-box<\/code>\uff0c\u5408\u5e76\u89c4\u5219\u5c31\u8981\u53d1\u751f\u53d8\u66f4\uff0c\u4f1a\u6bd4\u8f83\u590d\u6742\u3002\u6211\u5bf9\u6b64\u89c2\u70b9\u4e0d\u6562\u82df\u540c\uff0c\u5176\u5b9e\u5f53\u4e0b\u5f88\u591a\u5c5e\u6027\u53ef\u4ee5\u706d\u6389<code>margin<\/code>\u5408\u5e76\uff0c\u591a\u4e00\u4e2a<code>box-sizing<\/code>\u53c8\u4f55\u59a8\uff0c\u4e14\u6d4f\u89c8\u5668\u4ea7\u5546\u5b9e\u73b0\u4e0d\u96be\u7684\uff0c\u8ddf\u4e4b\u524d\u7684\u89c4\u8303\u4e5f\u4e0d\u51b2\u7a81\u3002<\/p>\n<ol>\n<li>\n<p>\u5176\u5b9e\uff0c\u6211\u4e2a\u4eba\u8ba4\u4e3a\uff0c\u4e0d\u652f\u6301<code>margin-box<\/code>\u6700\u5927\u7684\u539f\u56e0\u662f\u672c\u8eab\u5c31\u6ca1\u6709\u4ef7\u503c\uff01\u6211\u4eec\u4e0d\u59a8\u597d\u597d\u60f3\u60f3\uff0c\u4e00\u4e2a\u5143\u7d20\uff0c\u5982\u679c\u6211\u4eec\u4f7f\u7528<code>width<\/code>\u6216height\u8bbe\u5b9a\u597d\u4e86\u5c3a\u5bf8\uff0c\u8bf7\u95ee\uff0c\u6211\u4eec\u6b64\u65f6\u8bbe\u7f6e<code>margin<\/code>\u503c\uff0c\u5176<code>offset<\/code>\u5c3a\u5bf8\u4f1a\u6709\u53d8\u5316\u5417\uff1f\u4e0d\u4f1a\u554a\uff0c\u4eb2\u4eec\uff0c100\u50cf\u7d20\u5bbd\u7684\u5143\u7d20\uff0c\u4f60\u518d\u600e\u4e48\u8bbe\u7f6e<code>margin<\/code>\uff0c\u5b83\u8fd8\u662f100\u50cf\u7d20\u5bbd\u3002\u4f46\u662f\uff0c<code>border<\/code>\u548c<code>padding<\/code>\u5c31\u4e0d\u4e00\u6837\u4e86\uff0c100\u50cf\u7d20\u5bbd\u7684\u5143\u7d20\uff0c\u8bbe\u7f6e\u4e2a20\u50cf\u7d20\u5927\u5c0f\u7684<code>padding<\/code>\u503c\uff0c<code>offsetWidth<\/code>\u5c31\u662f140\u50cf\u7d20\u4e86\uff0c\u5c3a\u5bf8\u4f1a\u53d8\u5316\u3002<\/p>\n<p>\u4f60\u8bf4\uff0c\u4e00\u4e2a\u672c\u8eab\u5e76\u4e0d\u4f1a\u6539\u53d8\u5143\u7d20\u5c3a\u5bf8\u7684\u76d2\u5b50\uff0c\u5b83\u6709\u8ba9<code>box-sizing<\/code>\u652f\u6301\u7684\u9053\u7406\u5417\uff1f<code>box-sizing<\/code>\u5c31\u662f\u6539\u53d8\u5c3a\u5bf8\u4f5c\u7528\u89c4\u5219\u7684\uff01<\/p>\n<p>\u8fd9\u5c31\u597d\u6bd4\u4e00\u4e2a\u5df2\u7ecf\u7edd\u7ecf\u7684\u5927\u5988\uff0c\u6709\u5fc5\u8981\u7ed9\u5979\u5403\u907f\u5b55\u836f\u5417\uff1f<\/p>\n<p><code>margin<\/code>\u53ea\u6709\u5728<code>width<\/code>\u4e3a<code>auto<\/code>\u7684\u65f6\u5019\u53ef\u4ee5\u6539\u53d8\u5143\u7d20\u7684\u5c3a\u5bf8\uff0c\u4f46\u662f\uff0c\u6b64\u65f6\u5143\u7d20\u5df2\u7ecf\u5904\u4e8e\u6d41\u52a8\u6027\u72b6\u6001\uff0c\u6839\u672c\u5c31\u4e0d\u9700\u8981<code>box-sizing<\/code>\u3002<\/p>\n<p>\u6240\u4ee5\uff0c\u8bf4\u6765\u8bf4\u53bb\u5c31\u662f<code>margin-box<\/code>\u672c\u8eab\u5c31\u6ca1\u6709\u4ef7\u503c\u3002<\/p>\n<\/li>\n<li>\n<p>\u8fd8\u6709\u4e00\u4e2a\u53ef\u80fd\u7684\u539f\u56e0\u5c31\u662f\u4f7f\u7528\u573a\u666f\u9700\u6c42\u3002<code>box-sizing<\/code>\u7684<code>margin-box<\/code>\u6548\u679c\uff0c\u5982\u679c\u662fIE10+\u6d4f\u89c8\u5668\uff0c\u53ef\u4ee5\u8bd5\u8bd5flex\u5e03\u5c40\uff0c\u5982\u679c\u8981\u517c\u5bb9IE8+\u53ef\u4ee5\u4f7f\u7528\u201c<a href=\"http:\/\/www.zhangxinxu.com\/wordpress\/?p=1463\">\u5bbd\u5ea6\u5206\u79bb<\/a>\u201d\uff0c\u6216\u8005\u7279\u5b9a\u573a\u666f\u4e0b\u4f7f\u7528\u201c\u683c\u5f0f\u5316\u5bbd\u5ea6\u201d\u6765\u5b9e\u73b0\uff0c\u4e5f\u5c31\u662f\u5e76\u4e0d\u662f\u5f3a\u9700\u6c42\u3002\u6bd4\u65b9\u8bf4<code>box-sizing:padding-box<\/code>\uff0c\u5c31\u662f\u56e0\u4e3a\u4f7f\u7528\u573a\u666f\u6709\u9650\uff0c\u5c31FireFox\u6d4f\u89c8\u5668\u652f\u6301\uff0c\u5e76\u4e14\u662f\u66fe\u7ecf\u652f\u6301\uff0c\u4ece\u7248\u672c50\u5f00\u59cb\u4e5f\u4e0d\u652f\u6301\u4e86\u3002<\/p>\n<p>\u5176\u5b9e\uff0c\u6211\u4e2a\u4eba\u89c9\u5f97\u6ca1\u5fc5\u8981\u820d\u5f03\uff0c\u6d4f\u89c8\u5668\u90fd\u5e94\u8be5\u652f\u6301\uff0c\u5c31\u50cf<code>background<\/code>\u5c5e\u6027\u90a3\u6837\u3002\u6210\u4e3a\u5957\u9910\u4e0d\u633a\u597d\u7684\u3002<\/li>\n<\/ol>\n<h3>\u56db\u3001\u4e3a\u4f55background-origin\/background-clip\u4e0d\u652f\u6301margin-box\uff1f<\/h3>\n<p>\u8fd9\u4e2a\u5176\u5b9e\u5f88\u597d\u89e3\u91ca\uff0c\u201cmargin\u7684\u80cc\u666f\u6c38\u8fdc\u662f\u900f\u660e\u7684\u201d\u8fd9\u51e0\u4e2a\u5927\u5b57\u53ef\u662f\u5728\u89c4\u8303\u5199\u5f97\u6e05\u6e05\u695a\u695a\u7684\uff01<\/p>\n<blockquote><p>The background style of the content, padding, and border areas of a box is specified by the &#8216;background&#8217; property of the generating element. <strong>Margin backgrounds are always transparent<\/strong>.<\/p><\/blockquote>\n<p>\u5047\u5982\u8bf4\uff0c\u4f8b\u5982\uff0c<code>background-clip<\/code>\u652f\u6301<code>margin-box<\/code>\uff0c\u662f\u4e0d\u662f\u5c31\u610f\u5473\u7740\u80cc\u666f\u8272\u80cc\u666f\u56fe\u7247\u4e4b\u7c7b\u7684\u53ef\u4ee5\u5728<code>margin-box<\/code>\u8fd9\u4e2a\u76d2\u5b50\u4e0a\u663e\u793a\uff0c\u90a3\u5c82\u4e0d\u610f\u5473\u7740\u201cmargin\u7684\u80cc\u666f\u4e0d\u662f\u900f\u660e\u7684\u201d\uff01\u663e\u7136\u548c\u89c4\u8303\u51b2\u7a81\u4e86\uff0c\u6211\u4eec\u53ef\u4ee5\u6253\u81ea\u5df1\u7684\u8138\uff0c\u4f46\u662f\u8981\u60f3\u8ba9\u89c4\u8303\u6253\u81ea\u5df1\u7684\u8138\uff0c\u53ef\u80fd\u5417\uff1f<\/p>\n<h3>\u4e94\u3001\u7ed3\u675f\u8bed<\/h3>\n<p>\u867d\u7136\u6211\u4e0d\u600e\u4e48\u559c\u6b22\u5403\u6708\u997c\uff0c\u4f46\u662f\u6211\u5f88\u559c\u6b22\u5403\u7cd6\uff01<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201609\/fatang.jpg\" width=\"200\" height=\"356\" alt=\"\u91ce\u5d0e\u541b\u53d1\u7cd6\" class=\"alignnone\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201609\/2016-09-16_131648.jpg\" width=\"400\" height=\"234\" alt=\"\u9752\u4e91\u5fd7\u53d1\u7cd6\" class=\"alignnone\" \/><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/mat1.gtimg.com\/www\/mb\/images\/face\/14.gif\" align=\"absmiddle\"><\/p>\n<p>\u672c\u6587\u4e3a\u539f\u521b\u6587\u7ae0\uff0c\u5c0a\u91cd\u8f9b\u52e4\u52b3\u52a8\uff0c\u53ef\u4ee5\u514d\u8d39\u6458\u8981\u3001\u63a8\u8350\u6216\u805a\u5408\uff0c\u4f46\u5b8c\u6574\u8f6c\u8f7d\u9700\u4ed8\u8d39\u8d2d\u4e70\u7248\u6743\uff0c\u8be6\u89c1<a href=\"http:\/\/www.zhangxinxu.com\/sp\/copyright.html\" target=\"_blank\">\u8f6c\u8f7d\u534f\u8bae\u58f0\u660e<\/a><br \/>\n\u672c\u6587\u5730\u5740\uff1a<a href=\"http:\/\/www.zhangxinxu.com\/wordpress\/?p=5658\">http:\/\/www.zhangxinxu.com\/wordpress\/?p=5658<\/a><\/p>\n<p>\uff08\u672c\u7bc7\u5b8c\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u76d2\u5c3a\u5bf8\u75314\u4e2a\u76d2\u5b50\u7ec4\u6210\uff0c\u5206\u522b\u662fcontent box, padding box, border box, margin box\u3002\u8fd9\u4e2a\u548c\u76d2\u6a21\u578b\u4e2d\u7684\u51e0\u4e2a\u76d2\u5b50\u5176\u5b9e\u662f\u5bf9\u5e94\u7684\u3002\u4f46\u662f\uff0c\u5bf9\u4e8e\u7684CSS\u5173\u952e\u5b57\u4e2d\u5374\u6ca1\u6709margin-box\uff0c\u552f\u72ec\u7f3a\u4e86margin-box\uff0c\u8fd9\u662f\u4e3a\u4ec0\u4e48\u5462\uff1f<\/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":[536,760,27,1083,571],"_links":{"self":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/5658"}],"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=5658"}],"version-history":[{"count":0,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/5658\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/media?parent=5658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/categories?post=5658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/tags?post=5658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}