{"id":8598,"date":"2019-04-20T23:30:02","date_gmt":"2019-04-20T15:30:02","guid":{"rendered":"https:\/\/www.zhangxinxu.com\/wordpress\/?p=8598"},"modified":"2019-04-20T23:31:11","modified_gmt":"2019-04-20T15:31:11","slug":"save-css-filter-blend-mode-image","status":"publish","type":"post","link":"https:\/\/www.zhangxinxu.com\/wordpress\/2019\/04\/save-css-filter-blend-mode-image\/","title":{"rendered":"CSS\u6ee4\u955c\u548c\u6df7\u5408\u6a21\u5f0f\u5904\u7406\u7684\u56fe\u7247\u5982\u4f55\u4e0a\u4f20\u4e0b\u8f7d\uff1f"},"content":{"rendered":"<p>by <a href=\"https:\/\/www.zhangxinxu.com\/\">zhangxinxu<\/a> from <a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/?p=8598\">https:\/\/www.zhangxinxu.com\/wordpress\/?p=8598<\/a><br \/>\n\u672c\u6587\u53ef\u5168\u6587\u8f6c\u8f7d\uff0c\u4e2a\u4eba\u7f51\u7ad9\u65e0\u9700\u6388\u6743\uff0c\u4f46\u9700\u8981\u4fdd\u7559\u539f\u4f5c\u8005\u3001\u51fa\u5904\u4ee5\u53ca\u6587\u4e2d\u94fe\u63a5\uff0c\u4efb\u4f55\u7f51\u7ad9\u5747\u53ef\u6458\u8981\u805a\u5408\uff0c\u5546\u7528\u8bf7\u8054\u7cfb\u6388\u6743\u3002<br \/>\n<script>window.wxShareImgUrl = 'https:\/\/www.zhangxinxu.com\/study\/image\/share\/201904-css-ps-image.jpg';<\/script><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/image.zhangxinxu.com\/image\/blog\/201904\/css-image-pure.jpg\" width=\"484\" height=\"300\" alt=\"CSS\u5904\u7406\u56fe\u5f62\u5408\u6210\u771f\u56fe\u50cf\" class=\"alignnone clip size-medium\" \/><\/p>\n<h3>\u4e00\u3001\u4f7f\u7528CSS\u6ee4\u955c\u548c\u6df7\u5408\u6a21\u5f0f\u5728\u7ebfPS<\/h3>\n<p>\u4f7f\u7528CSS\u6ee4\u955c\u548c\u6df7\u5408\u6a21\u5f0f\u53ef\u4ee5\u5b9e\u73b0\u5404\u79cd\u5404\u6837\u7684\u56fe\u50cf\u5904\u7406\u6548\u679c\uff0c\u4f8b\u5982<a href=\"https:\/\/github.com\/una\/CSSgram\" rel=\"noopener\" target=\"_blank\">CSSgram\u9879\u76ee<\/a>\uff0c\u5185\u7f6e\u4f17\u591a\u56fe\u50cf\u5904\u7406\u6548\u679c\uff0c\u90e8\u5206\u6548\u679c\u793a\u610f\u5982\u4e0b\u7f29\u7565\u56fe\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/image.zhangxinxu.com\/image\/blog\/201904\/2019-04-20_220602.jpg\" width=\"500\" height=\"302\" alt=\"\u56fe\u50cf\u5904\u7406\u6548\u679c\u793a\u610f\u56fe\" class=\"alignnone size-medium\" \/><\/p>\n<p>\u60a8\u53ef\u4ee5\u72e0\u72e0\u5730\u70b9\u51fb\u8fd9\u91cc\uff1a<a href=\"https:\/\/www.zhangxinxu.com\/study\/201903\/css-idea\/shape-figure.php?aside=0&#038;kind=3\" target=\"_blank\">CSSgram\u4e2d\u7684\u56fe\u50cf\u5904\u7406demo<\/a><\/p>\n<p>\u8fdb\u5165demo\u9875\u9762\u4f60\u4e5f\u53ef\u4ee5\u70b9\u51fb\u8fd9\u91cc\u7684\u6309\u94ae\uff0c\u66f4\u6362\u4f60\u672c\u5730\u7684\u7d20\u6750\uff0c\u67e5\u770b\u5bf9\u5e94\u7684\u56fe\u50cf\u6548\u679c\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/image.zhangxinxu.com\/image\/blog\/201904\/2019-04-20_220838.png\" width=\"367\" height=\"200\" alt=\"\u4f7f\u7528\u672c\u5730\u56fe\u7247\u9884\u89c8\u793a\u610f\" class=\"alignnone size-medium\" \/><\/p>\n<p>\u5448\u73b0\u7684\u6548\u679c\u867d\u597d\uff0c\u4f46\u662f\u4e5f\u5e26\u6765\u53e6\u5916\u4e00\u4e2a\u95ee\u9898\uff0c\u867d\u7136\u89c6\u89c9\u4e0a\u662f\u5df2\u7ecf\u5904\u7406\u540e\u7684\u56fe\u7247\uff0c\u4f46\u662f\u5982\u679c\u6211\u4eec\u53f3\u952e-\u56fe\u7247\u53e6\u5b58\u4e3a\uff0c\u4f1a\u53d1\u73b0\u8fd8\u662f\u539f\u56fe\u3002<\/p>\n<p>\u5982\u679c\u7528\u6237\u89c9\u5f97\u67d0\u4e2a\u56fe\u7247\u5904\u7406\u540e\u7684\u6548\u679c\u5f88\u68d2\uff0c\u60f3\u8981\u4fdd\u5b58\u5230\u81ea\u5df1\u7684\u672c\u673a\uff0c\u5c31\u4f1a\u53d7\u963b\u3002<\/p>\n<p>\u6216\u8005\u8bf4\uff0c\u6211\u4eec\u57fa\u4e8eCSS\u6ee4\u955c\u548c\u6df7\u5408\u6a21\u5f0f\u5236\u4f5c\u4e86\u4e00\u6b3e\u56fe\u50cf\u5904\u7406\u7684\u5de5\u5177\uff0c\u6700\u540e\u9700\u8981\u628a\u8fd9\u4e9b\u5df2\u7ecf\u5904\u7406\u597d\u7684\u56fe\u7247\u4e0a\u4f20\u5230\u540e\u53f0\uff0c\u4f5c\u4e3a\u4e00\u4e2a\u72ec\u7acb\u7684<code>&lt;img&gt;<\/code>\u5143\u7d20\u4f7f\u7528\uff0c\u4e5f\u4f1a\u53d7\u963b\u3002<\/p>\n<p>\u600e\u4e48\u529e\uff1f\u96be\u9053\u6211\u4eec\u8981\u653e\u5f03\u8fd9\u4e48\u597d\u7684\u7279\u6027\uff0c\u8fd8\u4f7f\u7528canvas\u6765\u5904\u7406\u56fe\u50cf\u5417\uff1f<img loading=\"lazy\" decoding=\"async\" src=\"\/\/image.zhangxinxu.com\/image\/emtion\/emoji\/1f914.svg\" width=\"20\" height=\"20\" align=\"absmiddle\"><\/p>\n<p>\u4e0d\u9700\u8981\u7684\uff0c\u5b9e\u9645\u4e0a\u662f\u6709\u65b9\u6cd5\u53ef\u4ee5\u5f97\u5230CSS\u5904\u7406\u540e\u7684\u56fe\u50cf\u7684\u3002<\/p>\n<h3>\u4e8c\u3001SVG foreignObject\u5143\u7d20\u4e0e\u89c6\u89c9\u5b58\u50a8<\/h3>\n<p>SVG\u4e2d\u6709\u4e2a<a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/2017\/08\/svg-foreignobject\/\">&lt;foreignObject&gt;\u5143\u7d20<\/a>\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5728SVG\u5185\u90e8\u5d4c\u5165XHTML\u5143\u7d20\uff0c\u4f8b\u5982\uff1a<\/p>\n<pre>&lt;svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\"&gt;\r\n  &lt;foreignObject width=\"120\" height=\"50\"&gt;\r\n      &lt;body xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"&gt;\r\n        &lt;p&gt;\u6587\u5b57\u3002&lt;\/p&gt;\r\n      &lt;\/body&gt;\r\n    &lt;\/foreignObject&gt;\r\n&lt;\/svg&gt;<\/pre>\n<p>\u800cSVG\u672c\u8d28\u4e0a\u5c31\u662f\u4e2a\u56fe\u50cf\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u6211\u4eec\u53ea\u9700\u8981\u628a\u56fe\u50cf\u5904\u7406\u76f8\u5173\u7684HTML\u4ee3\u7801\u548cCSS\u4ee3\u7801\u653e\u5728<code>&lt;foreignObject&gt;<\/code>\u5143\u7d20\u4e2d\uff0c\u7136\u540e\u4f5c\u4e3a<code>&lt;img&gt;<\/code>\u56fe\u50cf\u5448\u73b0\uff0c\u7136\u540e\u518d\u7ed8\u5236\u5230canvas\u753b\u5e03\u4e0a\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u5f97\u5230\u7eaf\u6b63\u7684\u5904\u7406\u540e\u7684\u4f4d\u56fe\u56fe\u50cf\u4e86\u3002<\/p>\n<p>\u773c\u89c1\u4e3a\u5b9e\uff0c\u60a8\u53ef\u4ee5\u72e0\u72e0\u5730\u70b9\u51fb\u8fd9\u91cc\uff1a<a href=\"https:\/\/www.zhangxinxu.com\/study\/201904\/image-filter-blend-mode-save-demo.php\" target=\"_blank\">SVG foreignObject\u5b58\u50a8CSS\u6ee4\u955c\u548c\u6df7\u5408\u6a21\u5f0f\u5904\u7406\u7684\u56fe\u7247demo<\/a><\/p>\n<p>demo\u9875\u9762\u6700\u540e\u4e00\u5f20\u56fe\u7247\u548cCSS\u5904\u7406\u540e\u7684\u56fe\u7247\u957f\u76f8\u867d\u540c\uff0c\u4f46\u662f\u672c\u8d28\u5374\u4e0d\u540c\uff0c\u4e00\u4e2a\u8fd8\u662f\u539f\u59cb\u56fe\uff08\u8bd5\u8bd5\u53f3\u952e-\u53e6\u5b58\u4e3a\uff09\uff0c\u4e00\u4e2a\u672c\u8d28\u4e0a\u662f\u5408\u6210\u56fe\uff08\u8bd5\u8bd5\u53f3\u952e-\u53e6\u5b58\u4e3a\uff09\uff0c\u5982\u4e0b\u622a\u56fe\u793a\u610f\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/image.zhangxinxu.com\/image\/blog\/201904\/2019-04-20_223043.png\" width=\"622\" height=\"722\" alt=\"\u5904\u7406\u540e\u56fe\u50cf\u793a\u610f\" class=\"alignnone size-medium\" \/><\/p>\n<p>\u4e8e\u662f\uff0c\u63a5\u4e0b\u6765\uff0c\u65e0\u8bba\u662f\u662f\u8981\u4e0b\u8f7d\u5230\u672c\u673a\u8fd8\u662f\u4e0a\u4f20\u5230\u670d\u52a1\u5668\u90fd\u4e0d\u662f\u95ee\u9898\u3002<\/p>\n<p>\u5173\u4e8e\u7eaf\u524d\u7aef\u4e0b\u8f7d\u56fe\u7247\uff0c\u53ef\u4ee5\u53c2\u8003\u6211\u4e4b\u524d\u8fd9\u7bc7\u6587\u7ae0\uff1a\u201c<a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/?p=6252\">JS\u524d\u7aef\u521b\u5efahtml\u6216json\u6587\u4ef6\u5e76\u4e0b\u8f7d<\/a>\u201d\u7684part3\u90e8\u5206\u3002<\/p>\n<p>\u5173\u4e8e\u4e0a\u4f20\uff0c\u53ef\u4ee5\u4f20\u8f93\u56fe\u50cfcanvas.toDataURL()\u7684base64\u6570\u636e\uff0c\u4e5f\u53ef\u4ee5\u4f20\u8f93<code>canvas.toBlob()<\/code>\u7684Blob\u6570\u636e\uff1a<\/p>\n<pre><span style=\"color:green;\">\/\/ canvas\u8f6c\u4e3ablob\u5e76\u4e0a\u4f20<\/span>\r\ncanvas.toBlob(function (blob) {\r\n    <span style=\"color:green;\">\/\/ \u56fe\u7247ajax\u4e0a\u4f20<\/span>\r\n    var xhr = new XMLHttpRequest();\r\n    <span style=\"color:green;\">\/\/ \u6587\u4ef6\u4e0a\u4f20\u6210\u529f<\/span>\r\n    xhr.onload = function() {\r\n         \/\/ xhr.responseText\u5c31\u662f\u8fd4\u56de\u7684\u6570\u636e<\/span>\r\n    };\r\n    <span style=\"color:green;\">\/\/ \u5f00\u59cb\u4e0a\u4f20<\/span>\r\n    xhr.open(\"POST\", 'upload.php', true);\r\n    xhr.send(blob);    \r\n}, 'image\/jpeg');<\/pre>\n<h3>\u4e09\u3001\u6211\u8be5\u5982\u4f55\u5728\u9879\u76ee\u4e2d\u4f7f\u7528\uff1f<\/h3>\n<p>\u4e0a\u9762\u7684<a href=\"https:\/\/www.zhangxinxu.com\/study\/201904\/image-filter-blend-mode-save-demo.php\" rel=\"noopener\" target=\"_blank\">demo\u9875\u9762<\/a>\u4e2d\uff0c\u6211\u5199\u4e86\u4e2a\u540d\u4e3a<code>cssRenderImage2PureImage()<\/code>\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u628a\u7c7b\u4f3c\u4e0b\u9762\u4ee3\u7801\u7ed3\u6784\u7684CSS\u56fe\u50cf\u5904\u7406\u7ed3\u679c\u53d8\u6210\u4e00\u5f20\u56fe\u7247\uff1a<\/p>\n<pre>&lt;div id=\"input\" class=\"clarendon-filter\"&gt;\r\n    &lt;img src=\".\/example.jpg\"&gt;\r\n&lt;\/div&gt;<\/pre>\n<pre>.clarendon-filter {\r\n    filter: contrast(1.2) saturate(1.35);\r\n    display: inline-block;\r\n    position: relative;\r\n}\r\n.clarendon-filter::before {\r\n    content: '';\r\n    display: block;\r\n    height: 100%;\r\n    width: 100%;\r\n    top: 0; left: 0;\r\n    position: absolute;\r\n    background: rgba(127,187,227,.2);\r\n    mix-blend-mode: overlay;\r\n    pointer-events: none;\r\n}<\/pre>\n<p><code>cssRenderImage2PureImage()<\/code>\u65b9\u6cd5\u8bed\u6cd5\uff1a<\/p>\n<pre>cssRenderImage2PureImage(dom, callback);<\/pre>\n<p><strong>\u5176\u4e2d\uff1a<\/strong><\/p>\n<dl>\n<dt><strong>dom<\/strong><\/dt>\n<dd>\u5fc5\u987b\u53c2\u6570\u3002DOM\u5bf9\u8c61\u3002<\/dd>\n<dt><strong>callback<\/strong><\/dt>\n<dd>\u53ef\u9009\u53c2\u6570\u3002Function\u3002\u56de\u8c03\u65b9\u6cd5\uff0c\u652f\u6301\u4e00\u4e2a\u53c2\u6570\uff0c\u4e3a\u5408\u6210\u540e\u7684\u56fe\u7247\u7684base64\u4fe1\u606f\u3002<\/dd>\n<\/dl>\n<p><strong>\u793a\u4f8b\uff1a<\/strong><\/p>\n<pre>cssRenderImage2PureImage(input, function (url) {\r\n    <span style=\"color:green;\">\/\/ url\u5c31\u662f\u5408\u6210\u540e\u7684\u56fe\u7247base64\u5730\u5740\r\n    \/\/ \u4f60\u53ef\u4ee5\u5bf9url\u505a\u4f60\u4efb\u4f55\u4f60\u60f3\u505a\u7684\u4e8b\u60c5\u2026\u2026<\/span>\r\n});<\/pre>\n<h3>\u56db\u3001\u5176\u5b83\u8bf4\u660e\u4ee5\u53ca\u7ed3\u675f\u8bed<\/h3>\n<ol>\n<li><code>cssRenderImage2PureImage<\/code>\u65b9\u6cd5\u9ad8\u5ea6\u5b9a\u5236\uff0c\u5982\u679c\u4f60\u7684CSS\u6ee4\u955c\u5904\u7406\u7684DOM\u7ed3\u6784\u6709\u6240\u4e0d\u540c\uff0c\u4f60\u9700\u8981\u6839\u636e\u4f60\u7684\u9879\u76ee\u573a\u666f\u8c03\u6574\u4e0b<code>cssRenderImage2PureImage<\/code>\u65b9\u6cd5\u91cc\u9762\u7684\u4ee3\u7801\uff1b<\/li>\n<li><code>&lt;foreignObject&gt;<\/code>\u5143\u7d20\u662f\u8457\u540d\u7684html2canvas\u5de5\u5177\u7684\u6838\u5fc3\uff0c\u901a\u5e38\u4e00\u4e9b\u5c0f\u7684\u5c40\u90e8\u7684\u622a\u56fe\u529f\u80fd\uff0c\u6211\u4eec\u76f4\u63a5\u81ea\u5df1\u64b8\u5341\u51e0\u884c\u4ee3\u7801\u5904\u7406\u4e0b\u5c31\u597d\u4e86\uff0c\u66f4\u9ad8\u6548\u66f4\u7075\u6d3b\u3002\u5173\u4e8eSVG\u7684<code>&lt;foreignObject&gt;<\/code>\u5143\u7d20\uff0c\u6211\u4e4b\u524d\u4e13\u95e8\u5199\u8fc7\u4e00\u4e2a\u6587\u7ae0\u4ecb\u7ecd\u8fc7\uff1a\u201c<a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/2017\/08\/svg-foreignobject\/\">SVG &lt;foreignObject&gt;\u7b80\u4ecb\u4e0e\u622a\u56fe\u7b49\u5e94\u7528<\/a>\u201d\uff0c\u60f3\u8981\u6df1\u5165\u4e86\u89e3\u5b9e\u73b0\u539f\u7406\u7684\u4eba\u53ef\u4ee5\u770b\u770b\u3002<\/li>\n<li>\u6b64\u6280\u672f\u5b9e\u73b0\u8bf7\u5728Chrome\u6d4f\u89c8\u5668\u4e0b\u73a9\u800d\u3002<\/li>\n<\/ol>\n<p>\u672c\u6587\u6240\u63d0\u4f9b\u7684\u89e3\u51b3\u65b9\u6848\u548c\u5e94\u7528\u573a\u666f\u6d89\u53ca\u5230\u4e86CSS\u6ee4\u955c\u548c\u6df7\u5408\u6a21\u5f0f\uff0cSVG <code>&lt;foreignObject&gt;<\/code>\u5143\u7d20\uff0c\u4ee5\u53caCanvas\u7684\u56fe\u50cf\u7ed8\u5236\u548c\u5904\u7406\u6280\u5de7\u3002\u5e78\u597d\u8fd93\u4e2a\u9886\u57df\u662f\u81ea\u5df1\u7740\u91cd\u5b66\u4e60\u7684\u9886\u57df\uff0c\u5982\u679c\u6709\u54ea\u4e00\u65b9\u9762\u7f3a\u5931\uff0c\u89e3\u51b3\u65b9\u6848\u4e00\u5b9a\u65e0\u6cd5\u4fe1\u624b\u634f\u6765\u3002<\/p>\n<p>\u6211\u4eec\u7a76\u7adf\u8981\u5b66\u4ec0\u4e48\u4e1c\u897f\uff0c\u4e0d\u662f\u770b\u8fd9\u4e2a\u4e1c\u897f\u5230\u5e95\u70ed\u4e0d\u70ed\u95e8\uff0c\u800c\u662f\u8981\u770b\u8ddf\u4f60\u60f3\u611f\u5174\u8da3\u7684\u9886\u57df\u662f\u5426\u76f8\u5173\uff0cSVG\u548cCanvas\u5b9e\u9645\u4e0a\u5c5e\u4e8e\u5c0f\u4f17\u9886\u57df\uff0c\u4f46\u90fd\u4e0e\u56fe\u5f62\u8868\u73b0\u5bc6\u5207\u76f8\u5173\uff0c\u56e0\u6b64\uff0c\u4e49\u65e0\u53cd\u987e\u5b66\u4e60\uff0c\u800c\u4e14\u5b66\u4e60\u7684\u65f6\u5019\u4e0d\u8981\u53ea\u5b66\u70ed\u95e8\u7684API\uff0c\u4e00\u4e9b\u4e0d\u5e38\u7528\u7684\u7279\u6027\uff0cAPI\u4e5f\u8981\u9762\u9762\u4ff1\u5230\uff0c\u4f8b\u5982SVG <code>&lt;foreignObject&gt;<\/code>\u5143\u7d20\u5c31\u662f\u4e2a\u5f88\u4e0d\u5e38\u7528\u7684SVG\u5143\u7d20\uff0c\u4f46\u5728\u8fd9\u91cc\u5927\u653e\u5f02\u5f69\uff0c\u662f\u6280\u672f\u5b9e\u73b0\u7684\u6700\u5173\u952e\u90e8\u5206\u3002<\/p>\n<p>\u597d\u4e86\uff0c\u70b9\u5230\u4e3a\u6b62\u3002<\/p>\n<p>\u603b\u4e4b\uff0c\u5e0c\u671b\u672c\u6587\u80fd\u591f\u53ef\u4ee5\u89e3\u51b3\u4f60\u7684\u9879\u76ee\u9700\u6c42\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/image.zhangxinxu.com\/image\/emtion\/emoji\/1f913.svg\" width=\"20\" height=\"20\" 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=\"https:\/\/www.zhangxinxu.com\/wordpress\/?p=8598\">https:\/\/www.zhangxinxu.com\/wordpress\/?p=8598<\/a><\/p>\n<p>\uff08\u672c\u7bc7\u5b8c\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/image.zhangxinxu.com\/image\/blog\/201904\/css-image-pure.jpg\" width=\"161\" height=\"100\" alt=\"CSS\u5904\u7406\u56fe\u5f62\u5408\u6210\u771f\u56fe\u50cf\" class=\"alignright size-medium\" \/><\/p>\n<p>\u4f7f\u7528CSS\u6ee4\u955c\u548c\u6df7\u5408\u6a21\u5f0f\u53ef\u4ee5\u5b9e\u73b0\u5f88\u591a\u5f88\u9177\u7684\u56fe\u50cf\u5904\u7406\u6548\u679c\uff0c\u4f46\u662f\u5904\u7406\u540e\u7684\u7f8e\u56fe\u7528\u6237\u65e0\u6cd5\u4e0b\u8f7d\uff0c\u4e5f\u65e0\u6cd5\u4e0a\u4f20\uff0c\u56e0\u4e3a\u6b64\u65f6\u7684\u56fe\u7247\u8d44\u6e90\u8fd8\u662f\u539f\u56fe\uff0c\u6709\u6ca1\u6709\u4ec0\u4e48\u65b9\u6cd5\u53ef\u4ee5\u5f97\u5230CSS\u6280\u672f\u5904\u7406\u540e\u7684\u56fe\u50cf\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":[180],"tags":[53,1051,368,977,994,1130,1129],"_links":{"self":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/8598"}],"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=8598"}],"version-history":[{"count":0,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/8598\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/media?parent=8598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/categories?post=8598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/tags?post=8598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}