{"id":6482,"date":"2017-10-19T01:11:04","date_gmt":"2017-10-18T17:11:04","guid":{"rendered":"http:\/\/www.zhangxinxu.com\/wordpress\/?p=6482"},"modified":"2017-10-19T01:19:30","modified_gmt":"2017-10-18T17:19:30","slug":"chrome-opacity-border-radius-border-clip","status":"publish","type":"post","link":"https:\/\/www.zhangxinxu.com\/wordpress\/2017\/10\/chrome-opacity-border-radius-border-clip\/","title":{"rendered":"Chrome opacity\u975e1\u65f6border-radius\u5706\u89d2\u8fb9\u6846\u526a\u88c1\u95ee\u9898"},"content":{"rendered":"<p>by <a href=\"http:\/\/www.zhangxinxu.com\/\">zhangxinxu<\/a> from <a href=\"http:\/\/www.zhangxinxu.com\/wordpress\/?p=6482\">http:\/\/www.zhangxinxu.com\/wordpress\/?p=6482<\/a><br \/>\n\u672c\u6587\u53ef\u5168\u6587\u8f6c\u8f7d\uff0c\u4f46\u9700\u5f97\u5230\u539f\u4f5c\u8005\u4e66\u9762\u8bb8\u53ef\uff0c\u540c\u65f6\u4fdd\u7559\u539f\u4f5c\u8005\u548c\u51fa\u5904\uff0c\u6458\u8981\u5f15\u6d41\u5219\u968f\u610f\u3002<\/p>\n<h3>\u4e00\u3001\u5706\u89d2\u8fb9\u6846\u663e\u793a\u4e0d\u5168\u95ee\u9898\u51fa\u73b0\u6761\u4ef6<\/h3>\n<p>\u5e94\u8be5\u90fd\u77e5\u9053\uff0c<code>border-radius:50%<\/code>\u53ef\u4ee5\u8ba9\u5143\u7d20\u6b63\u65b9\u5f62\u5143\u7d20\u8868\u73b0\u4e3a\u6b63\u5706\uff0c\u6df1\u5165\u7406\u89e3\u5176\u8868\u73b0\u673a\u5236\u53ef\u53c2\u89c1\u6211\u4e4b\u524d\u6587\u7ae0\uff1a\u201c<a href=\"http:\/\/www.zhangxinxu.com\/wordpress\/2015\/11\/css3-border-radius-tips\/\">CSS3 border-radius\u77e5\u591a\u5c11\uff1f<\/a>\u201d\u3002<\/p>\n<p>\u5982\u679c\u5143\u7d20\u8bbe\u7f6e\u4e86<code>border<\/code>\u8fb9\u6846\uff0c\u5219\u4f1a\u8868\u73b0\u4e3a\u4e00\u4e2a\u6b63\u5706\u5708\u5708\uff0c\u7c7b\u4f3c\u8fd9\u6837\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201710\/2017-10-19_000408.png\" width=\"86\" height=\"80\" alt=\"\u6b63\u5706\u5708\u5708\u622a\u56fe\u793a\u610f\" class=\"alignnone\" \/><\/p>\n<p>\u4f46\u6709\u65f6\u5019\uff0c<code>border<\/code>\u8fb9\u6846\u7684\u8fd9\u4e2a\u5708\u5708\u4f1a\u5728\u8fb9\u7f18\u5904\u53d1\u751f\u526a\u88c1\uff0c\u4e0d\u662f\u4e00\u4e2a\u5b8c\u7f8e\u7684\u5708\u5708\u4e86\uff0c\u7c7b\u4f3c\u4e0b\u9762\u8fd9\u6837\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201710\/2017-10-19_000642.png\" width=\"81\" height=\"82\" alt=\"\u5708\u5708\u8fb9\u7f18\u526a\u88c1\" class=\"alignnone\" \/><\/p>\n<p>\u5708\u5708\u7684\u5de6\u4fa7\u4e0d\u662f\u5706\u7684\u4e86\uff0c\u800c\u662f\u50cf\u88ab\u4ec0\u4e48\u4e1c\u897f\u4e00\u5200\u5207\u4e0b\u53bb\uff0c\u6210\u4e86\u76f4\u76f4\u7684\u4e86\u3002<\/p>\n<p>\u5982\u679c\u662f\u5728retina\u5c4f\u5e55\u4e0b\uff0c\u5219\u201c\u4e00\u5200\u5207\u201d\u7684\u6548\u679c\u53ef\u80fd\u8fd8\u8981\u66f4\u52a0\u660e\u663e\uff0c\u4e0a\u4e0b\u5de6\u53f3\u90fd\u6709\u53ef\u80fd\u53d1\u751f\u526a\u88c1\u3002<\/p>\n<p>\u51fa\u73b0\u8fd9\u79cd\u6e32\u67d3\u95ee\u9898\uff0c\u9700\u8981\u6ee1\u8db3\u4e0b\u9762\u4e24\u4e2a\u6761\u4ef6\uff1a<\/p>\n<ol>\n<li>\u5143\u7d20\u7684\u900f\u660e\u5ea6<code>opacity<\/code>\u4e0d\u662f1\uff1b<\/li>\n<li>\u5143\u7d20\u7684\u4f4d\u7f6e\u5e76\u4e0d\u662f\u5b8c\u7f8e\u8d77\u6b62\u4e8e\u5c4f\u5e55\u7684\u50cf\u7d20\u70b9\u4e0a\uff1b<\/li>\n<\/ol>\n<p>\u7b2c\u4e00\u4e2a\u6761\u4ef6\u5f88\u597d\u7406\u89e3\uff1b\u90a3\u7b2c\u4e8c\u4e2a\u6761\u4ef6\u662f\u4ec0\u4e48\u610f\u601d\u5462\uff1f<\/p>\n<p>\u5bf9\u4e8e\u666e\u901a\u7684\u663e\u793a\u5668\uff0c<a href=\"http:\/\/www.zhangxinxu.com\/wordpress\/2012\/08\/window-devicepixelratio\/\">\u8bbe\u5907\u50cf\u7d20\u6bd4devicePixelRatio<\/a>\u662f<code>1<\/code>\uff0c\u4e5f\u5c31\u662f\u6700\u5c0f\u663e\u793a\u5355\u4f4d\uff08\u6e32\u67d3\u5355\u4f4d\uff09\u662f1\u50cf\u7d20\u3002\u5982\u679c\u67d0\u4e00\u4e2a\u5143\u7d20\u7684\u8d77\u70b9\u662f\u4ece<code>0.5<\/code>\u50cf\u7d20\u5f00\u59cb\u7684\uff0c\u90a3\u8fd9\u4e2a\u5143\u7d20\u7684\u5f00\u59cb\u4f4d\u7f6e\u5c31\u4e0d\u662f\u6b63\u597d\u5728\u5c4f\u5e55\u7684\u50cf\u7d20\u70b9\u4e0a\uff0c\u800c\u662f\u4e2d\u95f4\u3002<\/p>\n<p>\u8fd9\u5176\u5b9e\u662f\u4e2a\u6096\u8bba\uff0c\u65e2\u7136\u6700\u5c0f\u6e32\u67d3\u5355\u4f4d\u662f1\u50cf\u7d20\uff0c\u4f55\u6765\u4ece<code>0.5<\/code>\u50cf\u7d20\u5f00\u59cb\u7684\u5b9a\u4f4d\u5462\uff1f\u786e\u5b9e\uff0c\u5728\u8fc7\u53bb\uff0c\u51e0\u4e4e\u6240\u6709CSS\u5c5e\u6027\u8bbe\u7f6e\u7684\u5c0f\u6570\u503c\u7684\u6700\u7ec8\u8868\u73b0\u90fd\u662f\u4ee5\u6574\u6570\u50cf\u7d20\u4f53\u73b0\uff08\u5982<code>margin: .5px = margin: 1px<\/code>\uff09\uff0c\u5728\u8001IE\u65f6\u4ee3\u66f4\u582a\u79f0\u6b7b\u677f\uff08<code>4<\/code>\u4e2a<code>25%<\/code>\u5bbd\u5ea6\u6d6e\u52a8\u5143\u7d20\u53ef\u80fd\u6700\u540e\u4e00\u4e2a\u4f1a\u6389\u4e0b\u6765\uff09\u3002\u4f46\u662f\u8fdb\u5165CSS3\u65f6\u4ee3\u540e\uff0c\u60c5\u51b5\u5c31\u5f00\u59cb\u53d1\u751f\u53d8\u5316\uff0c\u7740\u91cd\u8981\u70b9\u540d\u7684\u5c31\u662f<code>transform<\/code>\u53d8\u6362\u3002\u7531\u4e8e<code>transform<\/code>\u53d8\u6362\u57fa\u4e8e\u77e9\u9635\u8ba1\u7b97\uff0c\u65e0\u8bba\u662f\u65cb\u8f6c\u8fd8\u662f\u62c9\u4f38\uff0c\u5176\u70b9\u5750\u6807\u5341\u6709\u516b\u4e5d\u4e00\u5b9a\u662fN\u4f4d\u6570\u7684\u5c0f\u6570\u3002\u5982\u679c\u6b64\u65f6\u6211\u4eec\u7684\u6d4f\u89c8\u5668\u6309\u7167\u6700\u5c0f\u7684<code>1<\/code>\u50cf\u7d20\u5f00\u59cb\u6e32\u67d3\uff0c\u90a3\u56fe\u5f62\u7684\u8fb9\u7f18\u90a3\u5c31\u662f\u6ee1\u6ee1\u7684\u952f\u9f7f\uff0c\u6e32\u67d3\u6548\u679c\u4f1a\u975e\u5e38\u7cdf\u7cd5\uff08\u4e00\u5f00\u59cb\u7684<code>transform<\/code>\u53d8\u6362\u6548\u679c\u771f\u5c31\u8fd9\u4e48\u7cdf\u7cd5\uff09\u3002\u6d4f\u89c8\u5668\u5382\u5546\u4e00\u770b\uff0c\u6211\u53bb\uff0c\u8fd9\u6548\u679c\u632b\u5230\u6211\u81ea\u5df1\u90fd\u770b\u4e0d\u4e0b\u53bb\uff0c\u4e8e\u662f\u4e0b\u529f\u592b\u5f00\u59cb\u63d0\u5347\u6e32\u67d3\u4f53\u9a8c\u3002\u5f04\u4e86\u4e00\u5957\u7b97\u6cd5\uff0c\u5bf9\u975e\u6574\u6570\u50cf\u7d20\u70b9\u8fb9\u7f18\u8fdb\u884c\u67d4\u5316\uff0c\u4e5f\u5c31\u662f\u867d\u7136\u8fd8\u662f\u5360\u636e\u7684<code>1<\/code>\u50cf\u7d20\u7684\u683c\u5b50\uff0c\u4f46\u662f\u8fb9\u7f18\u50cf\u7d20\u70b9\u901a\u8fc7\u534a\u900f\u660e\u7b49\u7279\u6b8a\u5904\u7406\uff0c\u6211\u4eec\u89c6\u89c9\u4e0a\u770b\u5c31\u597d\u50cf\u5143\u7d20\u5f00\u59cb\u4e8e<code>0.5<\/code>\u50cf\u7d20\u7684\u4f4d\u7f6e\u3002<\/p>\n<p>\u4e5f\u6b63\u662f\u7531\u4e8e\u8fd9\u4e2a\u539f\u56e0\uff0c\u5f53\u6211\u4eec\u4f7f\u7528\u5bf9\u5143\u7d20\u8fdb\u884c\u975e\u6574\u6570\u4f4d\u7f6e\u7684<code>translate<\/code>\u4f4d\u79fb\u7684\u65f6\u5019\uff0c\u5143\u7d20\u7684\u8fb9\u7f18\u4f1a\u6709\u4e00\u70b9\u6a21\u7cca\u7684\u611f\u89c9\u3002<\/p>\n<p>\u5bf9\u4e8eiMac\u8fd9\u79cd5K\u663e\u793a\u5c4f\u5e55\uff0c\u6700\u5c0f\u50cf\u7d20\u70b9\u5b9e\u9645\u4e0a\u53ef\u4ee5\u5c0f\u5230<code>0.2<\/code>\u50cf\u7d20\uff0c\u4e5f\u5c31\u662f\u5c31\u662f<code>translate<\/code>\u79fb\u52a8<code>0.2<\/code>\u50cf\u7d20\uff0c\u5143\u7d20\u8fb9\u7f18\u4e5f\u4e0d\u4f1a\u67d4\u5316\u6a21\u7cca\uff0c\u4f46\u662f\uff0c\u79fb\u52a8<code>0.5<\/code>\u50cf\u7d20\u5c31\u4e0d\u4e00\u5b9a\u4e86\u3002<\/p>\n<p>\u56e0\u6b64\uff0c\u5982\u4e0b\u7684HTML\u548cCSS\u4ee3\u7801\u5c31\u53ef\u4ee5\u8ba9\u5706\u89d2\u8fb9\u6846\u4e0d\u89c4\u6574\uff1a<\/p>\n<pre>&lt;span class=\"ele\"&gt;&lt;\/span&gt;<\/pre>\n<pre>.ele {\n    display: inline-block;\n    width: 40px; height: 40px;\n    border: 1px solid #fff;\n    border-radius: 50%;\n    <span style=\"color:#cd0000;\">transform: translate(.5px, 0);\n    opacity: 0.6;<\/span>\n}<\/pre>\n<p>\u6839\u636e\u6211\u7684\u6d4b\u8bd5\uff0c\u9664\u4e86Chrome\u6d4f\u89c8\u5668\u6709\u5706\u89d2\u8fb9\u6846\u4e0d\u89c4\u6574\u7684\u95ee\u9898\u5916\uff0cIE\u6d4f\u89c8\u5668\u7684\u6e32\u67d3\u4e5f\u540c\u6837\u6709\u95ee\u9898\uff0c\u8868\u73b0\u4e3a\u53f3\u4fa7\u8fb9\u7f18\u660e\u663e\u8870\u5f31\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201710\/2017-10-19_003232.png\" width=\"91\" height=\"83\" alt=\"\u8fb9\u7f18\u8870\u5f31\" class=\"alignnone\" \/><\/p>\n<p>\u4f46\u662f\uff0c\u5982\u679c<code>opacity<\/code>\u8bbe\u7f6e\u4e3a<code>1<\/code>\uff0c\u5219\u65e0\u8bbaIE\u6d4f\u89c8\u5668\u8fd8\u662fChrome\u6d4f\u89c8\u5668\uff0c\u53c8\u53d8\u6210\u5b8c\u7f8e\u7684\u5706\u5708\u5708\u4e86\uff0c\u5982\u4e0b\uff08\u622a\u81eaIE\uff09\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201710\/2017-10-19_005226.png\" width=\"105\" height=\"80\" alt=\"IE\u4e0b\u622a\u56fe\" class=\"alignnone\" \/><\/p>\n<p>Firefox\u5219\u8868\u73b0\u7b26\u5408\u9884\u671f\u3002<\/p>\n<h3>\u4e8c\u3001\u5982\u679c\u89e3\u51b3border-radius border\u90e8\u5206\u663e\u793a\u95ee\u9898\uff1f<\/h3>\n<p>\u77e5\u9053\u95ee\u9898\u51fa\u73b0\u89e6\u53d1\u7684\u6761\u4ef6\uff0c\u90a3\u95ee\u9898\u89e3\u51b3\u5176\u5b9e\u5df2\u7ecf\u89e3\u51b3\u4e86\u4e00\u534a\u4e86\u3002<\/p>\n<p>2\u79cd\u65b9\u6cd5\uff1a<\/p>\n<h4>1. \u5143\u7d20\u5c3a\u5bf8\u548c\u4f4d\u7f6e\u90fd\u5728\u90fd\u662f\u6574\u6570\u50cf\u7d20<\/h4>\n<p>\u7136\u800c\u5f88\u591a\u65f6\u5019\u8fd9\u79cd\u65b9\u6cd5\u5e76\u4e0d\u5207\u5b9e\u9645\uff0c\u5c24\u5176\u5bf9\u4e8e\u590d\u6742\u5e03\u5c40\uff0c\u4f8b\u5982\u6211\u4eec\u4f7f\u7528<code>calc<\/code>\u8ba1\u7b97\u5bf9\u5143\u7d20\u5bbd\u5ea6\u5b9a\u4f4d\u65f6\u5019\uff0c\u6216\u8005<code>line-height<\/code>\u4f7f\u7528\u4e0d\u5bb9\u6613\u8ba1\u7b97\u7684\u5c0f\u6570\u65f6\u5019\uff0c\u6216\u8005\u57fa\u4e8e<code>rem<\/code>\u7684\u5e03\u5c40\u7b49\u7b49\uff0c\u60f3\u8981\u5f3a\u5236\u5143\u7d20\u5c3a\u5bf8\u548c\u4f4d\u7f6e\u90fd\u662f\u6574\u6570\u5e76\u4e0d\u592a\u5bb9\u6613\u3002<\/p>\n<h4>2. \u4e0d\u4f7f\u7528<code>opacity<\/code>\u5b9e\u73b0\u534a\u900f\u660e<\/h4>\n<p>\u65e2\u7136\u6211\u4eec\u7684\u95ee\u9898\u51fa\u73b0\u4e0e<code>opacity<\/code>\u4e0d\u662f<code>1<\/code>\u6709\u5173\uff0c\u90a3\u6211\u4eec\u5c31\u4e0d\u4f7f\u7528<code>opacity<\/code>\u5b9e\u73b0\u534a\u900f\u660e\uff0c\u91c7\u7528\u5176\u4ed6\u7684\u65b9\u6cd5\u4ee3\u66ff\u3002<\/p>\n<p>\u5982\u679c\u6211\u4eec\u60f3\u4f7f\u4e00\u4e2a\u8fb9\u6846\u53d8\u6210\u534a\u900f\u660e\uff0c\u9664\u4e86<code>opacity<\/code>\u5916\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u4f7f\u7528RGBA\u6216\u8005HSLA\u989c\u8272\u3002<\/p>\n<p>\u4f8b\u5982\uff0c\u4e0a\u9762\u662f\u4e00\u4e2a\u4f8b\u5b50\u7684CSS\u4ee3\u7801\u6362\u6210\uff1a<\/p>\n<pre>.ele {\n    display: inline-block;\n    width: 40px; height: 40px;\n    border: 1px solid <span style=\"color:#cd0000;\">hsla(0,0%,100%,.6);<\/span>\n    border-radius: 50%;\n    <span style=\"color:#cd0000;\">transform: translate(.5px, 0);<\/span>\n}<\/pre>\n<p>\u5219\u8fb9\u6846\u4e0d\u5706\u6da6\u7684\u95ee\u9898\u5c31\u6d88\u5931\u4e86\uff0c\u6709\u4e13\u95e8\u7684\u6f14\u793a\u9875\u9762\uff0c\u60a8\u53ef\u4ee5\u72e0\u72e0\u5730\u70b9\u51fb\u8fd9\u91cc\uff1a<a href=\"http:\/\/www.zhangxinxu.com\/study\/201710\/border-radius-1px-chrome-clip-opacity.html\" rel=\"noopener\" target=\"_blank\">\u534a\u900f\u660e\u5706\u89d2\u8fb9\u6846\u526a\u88c1\u95ee\u9898\u793a\u610fdemo<\/a><\/p>\n<p>\u7ed3\u679c\u5bf9\u6bd4\u6548\u679c\u5982\u4e0b\u56fe\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201710\/2017-10-19_005801.png\" width=\"338\" height=\"368\" alt=\"\u4f7f\u7528HSLA\u989c\u8272\u4ee3\u66ffopacity\u8fb9\u6846\" class=\"alignnone\" \/><\/p>\n<p>Nice!<\/p>\n<h3>\u4e09\u3001\u7ed3\u675f\u8bed<\/h3>\n<p>\u4e0a\u9762\u7684<code>60%<\/code>\u900f\u660e\u5ea6\u767d\u8272\u8fb9\u6846\u4e5f\u53ef\u4ee5\u4f7f\u7528RGBA\u989c\u8272\u8868\u793a\uff1a<code>rgba(255,255,255,.6)<\/code>\u3002\u6548\u679c\u662f\u4e00\u6a21\u4e00\u6837\u7684\uff0c\u4e5f\u80fd\u8ba9\u8fb9\u6846\u5b8c\u7f8e\u663e\u793a\u3002<\/p>\n<p>\u90a3\u4e3a\u4ec0\u4e48\u4e0a\u9762\u6211\u7528\u7684\u662fHSLA\u989c\u8272\u8868\u793a\u800c\u4e0d\u662fRGBA\u989c\u8272\u8868\u793a\u5462\uff1f<\/p>\n<p>\u56e0\u4e3a\u4f7f\u7528HSLA\u8868\u793a\u767d\u8272\u8981\u6bd4RGBA\u8868\u793a\u767d\u8272\u53ef\u4ee5\u5c112\u4e2a\u5b57\u6bcd\u3002<\/p>\n<p>\u8fd9\u5c31\u662f\u6211\u7684\u989c\u8272\u8868\u793a\u7684\u4e00\u4e2a\u5c0f\u79d8\u5bc6\uff1a\u767d\u8272\u534a\u900f\u660e\u4f7f\u7528HSLA\u989c\u8272\u8868\u793a\uff0c\u9ed1\u8272\u534a\u900f\u660e\u4f7f\u7528RGBA\u989c\u8272\u8868\u793a\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/mat1.gtimg.com\/www\/mb\/images\/face\/12.gif\" align=\"absmiddle\"><\/p>\n<p>\u672c\u6587\u4e3a\u539f\u521b\u6587\u7ae0\uff0c\u4f1a\u7ecf\u5e38\u66f4\u65b0\u77e5\u8bc6\u70b9\u4ee5\u53ca\u4fee\u6b63\u4e00\u4e9b\u9519\u8bef\uff0c\u56e0\u6b64\u8f6c\u8f7d\u8bf7\u4fdd\u7559\u539f\u51fa\u5904\uff0c\u65b9\u4fbf\u6eaf\u6e90\uff0c\u907f\u514d\u9648\u65e7\u9519\u8bef\u77e5\u8bc6\u7684\u8bef\u5bfc\uff0c\u540c\u65f6\u6709\u66f4\u597d\u7684\u9605\u8bfb\u4f53\u9a8c\u3002<br \/>\n\u672c\u6587\u5730\u5740\uff1a<a href=\"http:\/\/www.zhangxinxu.com\/wordpress\/?p=6482\">http:\/\/www.zhangxinxu.com\/wordpress\/?p=6482<\/a><\/p>\n<p>\uff08\u672c\u7bc7\u5b8c\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>border-radius:50%\u53ef\u4ee5\u8ba9\u5143\u7d20\u6b63\u65b9\u5f62\u5143\u7d20\u8868\u73b0\u4e3a\u6b63\u5706\uff0c\u5982\u679c\u5143\u7d20\u8bbe\u7f6e\u4e86border\u8fb9\u6846\uff0c\u5219\u4f1a\u8868\u73b0\u4e3a\u4e00\u4e2a\u6b63\u5706\u5708\u5708\uff0c\u4f46\u6709\u65f6\u5019\uff0cborder\u8fb9\u6846\u7684\u8fd9\u4e2a\u5708\u5708\u4f1a\u5728\u8fb9\u7f18\u5904\u53d1\u751f\u526a\u88c1\uff0c\u4e0d\u662f\u4e00\u4e2a\u5b8c\u7f8e\u7684\u5708\u5708\u4e86\uff0c\u8fd9\u662f\u5982\u4f55\u53d1\u751f\u7684\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":[389,339,1177,398,497,287],"_links":{"self":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/6482"}],"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=6482"}],"version-history":[{"count":0,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/6482\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/media?parent=6482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/categories?post=6482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/tags?post=6482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}