{"id":829,"date":"2014-10-31T17:36:39","date_gmt":"2014-10-31T09:36:39","guid":{"rendered":"https:\/\/blog.brain1981.com\/?p=829"},"modified":"2022-04-09T01:05:32","modified_gmt":"2022-04-08T17:05:32","slug":"%e6%b5%85%e8%b0%88%e5%93%8d%e5%ba%94%e5%bc%8f%e7%80%91%e5%b8%83%e6%b5%81%e7%9a%84%e5%ae%9e%e7%8e%b0%e6%96%b9%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/blog.brain1981.com\/829.html","title":{"rendered":"\u6d45\u8c08\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u5f0f"},"content":{"rendered":"<p>\u7011\u5e03\u6d41\u4e3b\u8981\u5e94\u7528\u5728\u56fe\u7247\u5c55\u793a\u9875\u9762\u4e0a\u3002\u5982\u679c\u6709\u4e00\u5927\u6279\u56fe\u7247\u9700\u8981\u5c55\u793a\uff0c\u539f\u59cb\u56fe\u7247\u5c3a\u5bf8\u4e0d\u4e00\u81f4\uff0c\u53c8\u5e0c\u671b\u6bcf\u5f20\u56fe\u7247\u90fd\u80fd\u4e0d\u526a\u88c1\uff0c\u5b8c\u6574\u663e\u793a\uff0c\u90a3\u4e48\u5c31\u8981\u7ed9\u56fe\u7247\u89c4\u5b9a\u4e00\u4e2a\u5bbd\u5ea6\uff0c\u89e3\u653e\u5b83\u4eec\u7684\u9ad8\u5ea6\u3002\u5229\u7528\u7f51\u9875\u9ad8\u5ea6\u4e0d\u9650\u8fd9\u4e2a\u7279\u6027\uff0c\u5145\u5206\u5229\u7528\u9875\u9762\u7684\u7a7a\u95f4\uff0c\u5c3d\u53ef\u80fd\u7684\u5c55\u793a\u591a\u7684\u56fe\u7247\u3002\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u6cd5\u633a\u591a\uff0c\u4f46\u80fd\u505a\u5230\u54cd\u5e94\u5f0f\u5217\u6570\u53d8\u5316\uff0c\u81ea\u7531\u5e03\u5c40\u7684\u5e76\u4e0d\u591a\u3002\u8fd9\u6b21\u81ea\u5df1\u5f00\u53d1\u4e86\u4e00\u4e2a\u4f5c\u54c1\u96c6\u9875\u9762\uff0c\u6b63\u597d\u7814\u7a76\u4e00\u4e0b\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u6cd5\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.brain1981.com\/wp-content\/uploads\/2014\/10\/pinterest1.jpg\" alt=\"\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u5e03\u5c40\u7684\u601d\u8def\" class=\"alignnone size-full wp-image-838\" \/><\/p>\n<h2>\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u9700\u8981\u89e3\u51b3\u7684\u95ee\u9898\uff1a<\/h2>\n<p>1. \u54cd\u5e94\u5f0f\u591a\u5217\uff1a960px\u5bbd\u4ee5\u4e0a\u54484\u5217\uff0c750-960\u54483\u5217\uff0c400-750\u54482\u5217\uff0c400\u5bbd\u4ee5\u4e0b\u53d8\u62101\u5217\uff1b<br \/>\n2. \u7531\u4e8e\u9700\u8981\u505a\u54cd\u5e94\u5f0f\uff0c\u90a3\u4e48\u6bcf\u5757\u7684\u5bbd\u5ea6\u5c31\u4e0d\u56fa\u5b9a\uff0c\u5bfc\u81f4\u9ad8\u5ea6\u66f4\u52a0\u4e0d\u53ef\u80fd\u56fa\u5b9a\u3002\u540e\u7aef\u8f93\u51fa\u7684\u65f6\u5019\uff0c\u56fe\u7247\uff08\u5757\uff09\u7684\u9ad8\u5ea6\u672c\u6765\u5c31\u662f\u672a\u77e5\u7684\uff0c\u8981\u7528JS\u5b9e\u65f6\u53d6\u5230\u5b83\u4eec\u7684\u9ad8\u5ea6\uff0c\u4ee5\u4fbf\u8c03\u6574\u5e03\u5c40\u3002<br \/>\n3. \u5f02\u6b65\u52a0\u8f7d\uff1a\u9875\u9762\u62d6\u5230\u6700\u4f4e\u7aef\u7684\u65f6\u5019\u52a0\u8f7d\u66f4\u591a\uff0c\u8fd9\u4e2a\u5f88\u5e38\u89c1\u3002<!--more--><\/p>\n<h2>\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u5b9e\u73b0\u8fc7\u7a0b\uff1a<\/h2>\n<p>1. \u5148\u7528offsetWidth\u53d6\u7011\u5e03\u6d41\u5927\u5bb9\u5668&lt;ul&gt;\u7684\u5b9e\u9645\u5bbd\u5ea6totalWidth\uff0cJS\u5224\u65ad\u8fd9\u4e2a\u5bbd\u5ea6\u53ef\u4ee5\u653e\u51e0\u5217\uff0c\u4f46\u4e0d\u7ed9\u6bcf\u5217\u5206\u914d\u5bb9\u5668\uff0c\u800c\u662f\u7528\u6570\u7ec4column\u8bb0\u5f55\u6bcf\u5217\u7684\u9ad8\u5ea6\u3002\u7ed9\u6bcf\u4e2a\u56fe\u7247\u5757\u5206\u914d\u4e00\u4e2a&lt;li&gt;\uff0c\u6bcf\u4e2a&lt;li&gt;\u7ed9\u4e00\u4e2aclass\uff0c4\u5217\u5c31\u662fcol4\uff0c3\u5217\u7684\u5c31\u662fcol3\u3002\u5728css\u4e2d\u7ed9\u8fd9\u4e9bcol+\u6570\u5b57\u7684class\u5b9a\u5bbd\u5ea6\uff0c\u6bd4\u5982\u8fd9\u6837\uff1a<\/p>\n<pre lang=\"CSS\" line=\"1\">\r\n.col1 { width: calc(100% - 20px); }\r\n.col2 { width: calc(50% - 20px); }\r\n.col3 { width: calc(330% - 20px); }\r\n.col4 { width: calc(250% - 20px); }\r\n<\/pre>\n<p>\u5f53\u7136\u8981\u505a\u597d\u517c\u5bb9\u6027\uff0c\u4e0d\u517c\u5bb9calc\u7684\u6d4f\u89c8\u5668\uff08IE9-\uff0c\u5b89\u5353\u624b\u673a\u7b49\uff09\u5c31\u7528\u5c0f\u4e00\u70b9\u7684\u767e\u5206\u6bd4\u4ee3\u66ff\uff1b<\/p>\n<p>2. \u6bcf\u4e2a&lt;li&gt;\u7684\u5bbd\u5ea6\u5b9a\u5b8c\u540e\uff0c\u9ad8\u5ea6\u90fd\u662fauto\uff0c\u5728JS\u91cc\u7528offsetHeight\u53d6\u9ad8\u5ea6\uff0c\u7528offsetWidth\u53d6\u5bbd\u5ea6\u3002\u7136\u540e\u8bbe\u7f6e\u6bcf\u4e2a&lt;li&gt;\u7684style.top\u548cstyle.left<br \/>\nstyle.top\u7684\u503c\u4e3a\u6570\u7ec4column\u4e2d\u6700\u5c0f\u7684\u90a3\u4e2a\u5143\u7d20\u7684\u503c\uff1b<br \/>\nstyle.left\u7684\u503c\u4e3acolumn\u4e2d\u6700\u5c0f\u7684\u90a3\u4e2a\u5143\u7d20\u7684\u5e8f\u53f7\u00d7\u6bcf\u4e2a&lt;li&gt;\u7684offsetWidth\u5bbd\u5ea6\uff1b<br \/>\n\u6bcf\u4e2a&lt;li&gt;\u7684\u4f4d\u7f6e\u8bbe\u7f6e\u5b8c\u6bd5\u540e\uff0c\u91cd\u65b0\u628a\u6dfb\u52a0\u7684\u9ad8\u5ea6\u5b58\u5165\u6570\u7ec4column\u4e2d\uff0c\u5e76\u518d\u8bbe\u7f6e&lt;ul&gt;\u7684\u9ad8\u5ea6\u6bd4column\u4e2d\u6700\u5927\u7684\u90a3\u4e2a\u5143\u7d20\u518d\u5927\u4e00\u4e9b<\/p>\n<p>3. \u5148\u52a0\u8f7d\u4e00\u5b9a\u6570\u91cf\u7684&lt;li&gt;\uff0c\u76d1\u542c\u9875\u9762\u6eda\u52a8\uff0c\u6eda\u52a8\u5230\u5e95\u90e8\u518d\u52a0\u8f7d\u66f4\u591a\u6570\u91cf\u7684\uff0c\u7136\u540e\u91cd\u65b0\u6392\u5217\uff1b<\/p>\n<p>4. \u76d1\u542c\u9875\u9762resize\u4e8b\u4ef6\uff0c\u5982\u679c\u53d1\u751f\uff0c\u5219\u6267\u884c\u6240\u6709\u547d\u4ee4\u91cd\u65b0\u6392\u5217\uff1b<\/p>\n<p>5. \u7ed9\u6240\u6709\u7684JS\u6267\u884c\u4e00\u4e2a\u5ef6\u65f6\uff0c\u9632\u6b62\u6d4f\u89c8\u5668\u53cd\u590dresize\u9020\u6210\u9875\u9762\u5361\u4f4f\uff1b<\/p>\n<p>6. \u7528CSS3\u7684transition\u7ed9\u6bcf\u4e2a&lt;li&gt;\u7684\u4f4d\u7f6e\u52a0\u7f13\u52a8\u6548\u679c\uff0c\u7ed9&lt;ul&gt;\u7684\u9ad8\u5ea6\u4e5f\u52a0\u7f13\u52a8\u6548\u679c\uff0c\u8fd9\u6837\u9875\u9762resize\u7684\u65f6\u5019\u4f1a\u5f88\u8212\u670d\uff1b<\/p>\n<p>JS\u4ee3\u7801\u5982\u4e0b\uff0c\u7248\u9762\u9650\u5236\uff0c\u7701\u7565addEvent\uff0caddClass\u7b49\u51e0\u4e2a\u5e38\u7528\u7684\u81ea\u5b9a\u4e49\u51fd\u6570\u7684\u7bc7\u5e45\uff1a<\/p>\n<pre lang=\"Javascript\" line=\"1\">\r\nvar pinterest_doing = 0; \/\/\u662f\u5426\u6b63\u5728\u6392\u5217\r\nvar pinterest_current = 0; \/\/\u5f53\u524d\u6392\u5217\u5230\u7b2c\u51e0\u4e2a\r\nvar pinterest_done = 0; \/\/\u662f\u5426\u5168\u90e8\u52a0\u8f7d\u5b8c\u6bd5\r\nvar pinterestObj = document.getElementById(\"pinterestList\"); \/\/\u8bbe\u5b9a\u54ea\u4e2a&lt;ul&gt;\u5bb9\u5668\u4f5c\u4e3a\u7011\u5e03\u6d41\u7684\u603b\u5bb9\u5668\r\n\r\nfunction pinterestInit(obj,add){\r\n\tvar perBlock = 16;\/\/\u8bbe\u5b9a\u6bcf\u6b21\u52a0\u8f7d\u5757\u6570\r\n\tvar gapWidth = 25;\/\/\u8bbe\u5b9a\u5757\u95f4\u8ddd\r\n\tvar containerPadding = 5;\/\/\u8bbe\u5b9a\u5916\u8fb9\u8ddd\r\n\tvar columns = 4;\/\/\u8bbe\u5b9a\u6700\u5927\u5217\u6570\r\n\r\n\tpinterest_doing = 1;\/\/\u5f00\u59cb\u6392\u5217\r\n\tobj.style.transition = \"height 1s\"; \/\/\u7ed9\u5bb9\u5668\u9ad8\u5ea6\u53d8\u5316\u6dfb\u52a0\u7f13\u52a8\r\n\tvar totalWidth=obj.offsetWidth;\r\n\tif(totalWidth<=720) { \/\/\u6839\u636e\u5bb9\u5668\u5bbd\u5ea6\u5224\u65ad\u5217\u6570\r\n\t\tcolumns--; \r\n\t\tif(totalWidth<=552) {\r\n\t\t\tcolumns--;\r\n\t\t\tif(totalWidth<=312) {\r\n\t\t\t\tcolumns--;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\tobj.className=\"pinterestUl\";\r\n\taddClass(obj, \"col\"+columns);\r\n\tvar singleWidth=totalWidth\/columns-gapWidth;\r\n\tvar column=new Array(); \/\/\u5efa\u7acb\u4e00\u4e2a\u5b58\u50a8\u6bcf\u4e2a\u5217\u9ad8\u5ea6\u7684\u6570\u7ec4\r\n\tfor(i=0;i<columns;i++){\/\/set the columns and each top\r\n\t\tif (!column[i]) column[i]=0; \/\/\u521d\u59cb\u5316\u6570\u7ec4\u5185\u6bcf\u4e2a\u9ad8\u5ea6\u662f0\r\n\t}\r\n\tfunction findMaxHeight(){ \/\/\u67e5\u8be2\u6570\u7ec4\u5185\u6700\u9ad8\u7684\u9ad8\u5ea6\r\n\t\tvar maxHeight=column[0];\r\n\t\tvar maxColum=0;\r\n\t\tfor(var i=0;i<column.length;i++){\r\n\t\t\tif(maxHeight<=column[i]){\r\n\t\t\t\t\tmaxHeight=column[i];\r\n\t\t\t\t\tmaxColum=i;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\treturn {\"maxHeight\":maxHeight, \"maxColum\":maxColum } \/\/\u8f93\u51fa\u6700\u9ad8\u9ad8\u5ea6\u7684\u5bf9\u8c61\r\n\t}\r\n\tfunction findMinHeight(){ \/\/\u67e5\u8be2\u6570\u7ec4\u5185\u6700\u4f4e\u9ad8\u5ea6\r\n\t\tvar minHeight=column[0];\r\n\t\tvar minColum=0;\r\n\t\tfor(var i=0;i<column.length;i++){\r\n\t\t\tif(minHeight>column[i]){\r\n\t\t\t\t\tminHeight=column[i];\r\n\t\t\t\t\tminColum=i;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\treturn {\"minHeight\":minHeight, \"minColum\":minColum } \/\/\u8f93\u51fa\u6700\u4f4e\u9ad8\u5ea6\u5bf9\u8c61\r\n\t}\r\n\r\n\tvar totalItem=obj.children.length;\r\n\tif(add) {\r\n\t\tpinterest_current+=perBlock; \/\/\u5224\u65ad\u662f\u5426\u9700\u8981\u589e\u52a0\u52a0\u8f7d\u91cf\r\n\t}\r\n\tfor(var num=0; num<totalItem; num++ ){ \/\/\u8fd9\u91cc\u5f00\u59cb\u6392\u5217\u6bcf\u5757\u7684\u4f4d\u7f6e\r\n\t\tif (num>= Math.max(pinterest_current, perBlock) ) break;\r\n\t\tobj.children[num].style.display=\"block\";\r\n\t\t\r\n\t\tvar atColum=findMinHeight().minColum;\r\n\t\tvar atHeight=findMinHeight().minHeight;\r\n\r\n\t\tobj.children[num].style.left =  atColum * (singleWidth + gapWidth) + containerPadding + \"px\";\r\n\t\tobj.children[num].style.top = gapWidth + atHeight + \"px\" ;\r\n\t\tcolumn[atColum] += obj.children[num].offsetHeight+gapWidth;\r\n\t\t\r\n\t}\r\n\tpinterest_current = num ; \/\/\u8bb0\u5f55\u4e0b\u6392\u5217\u5230\u7b2c\u51e0\u4e2a\u5757\r\n\tif(pinterest_current>=totalItem){\/\/\u5168\u90e8\u52a0\u8f7d\u5b8c\u6bd5\r\n\t\tpinterest_done=1;\r\n\t\tdocument.getElementById(\"pinterestDone\").style.display=\"block\";\r\n\t}\r\n\r\n\tobj.style.height= (findMaxHeight().maxHeight+30)+\"px\";\r\n\tsetTimeout( function(){ \/\/\u8fc7\u534a\u79d2\u518d\u8bbe\u7f6epinterest_doing\u4e3a0\uff0c\u7136\u540e\u624d\u80fd\u91cd\u65b0\u6267\u884cpinterestInit\uff0c\u9632\u6b62\u6d4f\u89c8\u5668\u5d29\u6e83\r\n\t\tpinterest_doing=0;\r\n\t}, 500);\r\n}\r\n\r\naddEvent(window, \"resize\", function(){ \/\/\u9875\u9762\u7a97\u53e3\u5c3a\u5bf8\u53d8\u5316\u76d1\u542c\r\n\tsetTimeout( function(){\r\n\t\tif(pinterest_doing==0) { \/\/pinterestInit\u6267\u884c\u7684\u5fc5\u8981\u6761\u4ef6\r\n\t\t\tpinterest_doing=1;\r\n\t\t\tpinterestInit(pinterestObj);\r\n\t\t}\r\n\t}, 500);\r\n});\r\n\r\naddEvent(window, \"scroll\", function(){ \/\/\u6eda\u52a8\u76d1\u542c\r\n\tif (document.body.scrollHeight-getViewPortSize().y <= getScrollOffsets().y+2){\r\n\t\tif(!pinterest_done){\/\/\u5982\u679c\u6ca1\u6709\u5168\u90e8\u52a0\u8f7d\u5b8c\u6bd5\uff0c\u663e\u793aloading\u56fe\u6807\r\n\t\t\taddClass(pinterestObj ,\"pinterestUl_loading\");\r\n\t\t}else {\/\/\u5982\u679c\u5168\u90e8\u52a0\u8f7d\u5b8c\u6bd5\uff0c\u663e\u793a\u5df2\u7ecf\u5168\u90e8\u52a0\u8f7d\u5b8c\u6bd5\u7684\u63d0\u793a\u8bed\r\n\t\t\tdocument.getElementById(\"pinterestDone\").style.display=\"block\";\r\n\t\t}\r\n\t\tsetTimeout( function(){\r\n\t\t\tif(pinterest_doing==0) {\r\n\t\t\t\tpinterest_doing=1;\r\n\t\t\t\tpinterestInit(pinterestObj, true );\r\n\t\t\t}\r\n\t\t}, 500);\r\n\t}\r\n});\r\naddDOMLoadEvent( pinterestInit(pinterestObj) ); \/\/\u9875\u9762DOM\u52a0\u8f7d\u5b8c\u6bd5\u624d\u5f00\u59cb\u6267\u884c\u7011\u5e03\u6d41\u6392\u5e8f\r\n<\/pre>\n<p>CSS\u5c31\u4e0d\u8d34\u4e86\uff0c\u5728\u7ebf\u4f8b\u5b50\uff1a<br \/>\n<a href=\"\/artworks\/\" title=\"\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\" target=\"_blank\" rel=\"noopener\">https:\/\/blog.brain1981.com\/artworks<\/a><br \/>\n<a href=\"https:\/\/www.becomingjenny.net\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.becomingjenny.net<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u6709\u4e00\u5927\u6279\u56fe\u7247\u9700\u8981\u5c55\u793a\uff0c\u539f\u59cb\u56fe\u7247\u5c3a\u5bf8\u4e0d\u4e00\u81f4\uff0c\u53c8\u5e0c\u671b\u6bcf\u5f20\u56fe\u7247\u90fd\u80fd\u4e0d\u526a\u88c1\uff0c\u5b8c\u6574\u663e\u793a\uff0c\u90a3\u4e48\u5c31\u8981\u7ed9\u56fe\u7247\u89c4\u5b9a\u4e00\u4e2a\u5bbd\u5ea6\uff0c\u89e3\u653e\u5b83\u4eec\u7684\u9ad8\u5ea6\u3002\u5229\u7528\u7f51\u9875\u9ad8\u5ea6\u4e0d\u9650\u8fd9\u4e2a\u7279\u6027\uff0c\u5145\u5206\u5229\u7528\u9875\u9762\u7684\u7a7a\u95f4\uff0c\u5c3d\u53ef\u80fd\u7684\u5c55\u793a\u591a\u7684\u56fe\u7247\u3002\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u6cd5\u633a\u591a\uff0c\u4f46\u80fd\u505a\u5230\u54cd\u5e94\u5f0f\u5217\u6570\u53d8\u5316\uff0c\u81ea\u7531\u5e03\u5c40\u7684\u5e76\u4e0d\u591a\u3002\u8fd9\u6b21\u81ea\u5df1\u5f00\u53d1\u4e86\u4e00\u4e2a\u4f5c\u54c1\u96c6\u9875\u9762\uff0c\u6b63\u597d\u7814\u7a76\u4e00\u4e0b\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u6cd5\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[2,3,29,56],"class_list":["post-829","post","type-post","status-publish","format-standard","hentry","category-front-end-development","tag-css","tag-javascript","tag-29","tag-56"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u6d45\u8c08\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u5f0f - Brain\u7684\u6280\u672f\u7b14\u8bb0<\/title>\n<meta name=\"description\" content=\"\u5982\u679c\u6709\u4e00\u5927\u6279\u56fe\u7247\u9700\u8981\u5c55\u793a\uff0c\u539f\u59cb\u56fe\u7247\u5c3a\u5bf8\u4e0d\u4e00\u81f4\uff0c\u53c8\u5e0c\u671b\u6bcf\u5f20\u56fe\u7247\u90fd\u80fd\u4e0d\u526a\u88c1\u5b8c\u6574\u663e\u793a\uff0c\u5c31\u8981\u7ed9\u56fe\u7247\u89c4\u5b9a\u4e00\u4e2a\u5bbd\u5ea6\uff0c\u89e3\u653e\u5b83\u4eec\u7684\u9ad8\u5ea6\u3002\u5229\u7528\u7f51\u9875\u9ad8\u5ea6\u4e0d\u9650\u8fd9\u4e2a\u7279\u6027\uff0c\u5145\u5206\u5229\u7528\u9875\u9762\u7684\u7a7a\u95f4\uff0c\u5c3d\u53ef\u80fd\u5c55\u793a\u591a\u7684\u56fe\u7247\u3002\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u6cd5\u633a\u591a\uff0c\u80fd\u505a\u5230\u54cd\u5e94\u5f0f\u5217\u6570\u53d8\u5316\uff0c\u81ea\u7531\u5e03\u5c40\u7684\u5e76\u4e0d\u591a\u3002\u81ea\u5df1\u5f00\u53d1\u4e86\u4e00\u4e2a\u4f5c\u54c1\u96c6\u9875\u9762\uff0c\u6b63\u597d\u7814\u7a76\u4e00\u4e0b\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u6cd5\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.brain1981.com\/829.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6d45\u8c08\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u5f0f - Brain\u7684\u6280\u672f\u7b14\u8bb0\" \/>\n<meta property=\"og:description\" content=\"\u5982\u679c\u6709\u4e00\u5927\u6279\u56fe\u7247\u9700\u8981\u5c55\u793a\uff0c\u539f\u59cb\u56fe\u7247\u5c3a\u5bf8\u4e0d\u4e00\u81f4\uff0c\u53c8\u5e0c\u671b\u6bcf\u5f20\u56fe\u7247\u90fd\u80fd\u4e0d\u526a\u88c1\u5b8c\u6574\u663e\u793a\uff0c\u5c31\u8981\u7ed9\u56fe\u7247\u89c4\u5b9a\u4e00\u4e2a\u5bbd\u5ea6\uff0c\u89e3\u653e\u5b83\u4eec\u7684\u9ad8\u5ea6\u3002\u5229\u7528\u7f51\u9875\u9ad8\u5ea6\u4e0d\u9650\u8fd9\u4e2a\u7279\u6027\uff0c\u5145\u5206\u5229\u7528\u9875\u9762\u7684\u7a7a\u95f4\uff0c\u5c3d\u53ef\u80fd\u5c55\u793a\u591a\u7684\u56fe\u7247\u3002\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u6cd5\u633a\u591a\uff0c\u80fd\u505a\u5230\u54cd\u5e94\u5f0f\u5217\u6570\u53d8\u5316\uff0c\u81ea\u7531\u5e03\u5c40\u7684\u5e76\u4e0d\u591a\u3002\u81ea\u5df1\u5f00\u53d1\u4e86\u4e00\u4e2a\u4f5c\u54c1\u96c6\u9875\u9762\uff0c\u6b63\u597d\u7814\u7a76\u4e00\u4e0b\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u6cd5\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.brain1981.com\/829.html\" \/>\n<meta property=\"og:site_name\" content=\"Brain\u7684\u6280\u672f\u7b14\u8bb0\" \/>\n<meta property=\"article:published_time\" content=\"2014-10-31T09:36:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-08T17:05:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.brain1981.com\/wp-content\/uploads\/2014\/10\/pinterest1.jpg\" \/>\n<meta name=\"author\" content=\"Brain\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Brain\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.brain1981.com\\\/829.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.brain1981.com\\\/829.html\"},\"author\":{\"name\":\"Brain\",\"@id\":\"https:\\\/\\\/blog.brain1981.com\\\/#\\\/schema\\\/person\\\/7689202bbb2f967b4c66309c1cc5e65d\"},\"headline\":\"\u6d45\u8c08\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u5f0f\",\"datePublished\":\"2014-10-31T09:36:39+00:00\",\"dateModified\":\"2022-04-08T17:05:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.brain1981.com\\\/829.html\"},\"wordCount\":86,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/blog.brain1981.com\\\/#\\\/schema\\\/person\\\/7689202bbb2f967b4c66309c1cc5e65d\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.brain1981.com\\\/829.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.brain1981.com\\\/wp-content\\\/uploads\\\/2014\\\/10\\\/pinterest1.jpg\",\"keywords\":[\"CSS\",\"Javascript\",\"\u54cd\u5e94\u5f0f\u5e03\u5c40\",\"\u7011\u5e03\u6d41\"],\"articleSection\":[\"\u524d\u7aef\u5f00\u53d1\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blog.brain1981.com\\\/829.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.brain1981.com\\\/829.html\",\"url\":\"https:\\\/\\\/blog.brain1981.com\\\/829.html\",\"name\":\"\u6d45\u8c08\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u5f0f - Brain\u7684\u6280\u672f\u7b14\u8bb0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.brain1981.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.brain1981.com\\\/829.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.brain1981.com\\\/829.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.brain1981.com\\\/wp-content\\\/uploads\\\/2014\\\/10\\\/pinterest1.jpg\",\"datePublished\":\"2014-10-31T09:36:39+00:00\",\"dateModified\":\"2022-04-08T17:05:32+00:00\",\"description\":\"\u5982\u679c\u6709\u4e00\u5927\u6279\u56fe\u7247\u9700\u8981\u5c55\u793a\uff0c\u539f\u59cb\u56fe\u7247\u5c3a\u5bf8\u4e0d\u4e00\u81f4\uff0c\u53c8\u5e0c\u671b\u6bcf\u5f20\u56fe\u7247\u90fd\u80fd\u4e0d\u526a\u88c1\u5b8c\u6574\u663e\u793a\uff0c\u5c31\u8981\u7ed9\u56fe\u7247\u89c4\u5b9a\u4e00\u4e2a\u5bbd\u5ea6\uff0c\u89e3\u653e\u5b83\u4eec\u7684\u9ad8\u5ea6\u3002\u5229\u7528\u7f51\u9875\u9ad8\u5ea6\u4e0d\u9650\u8fd9\u4e2a\u7279\u6027\uff0c\u5145\u5206\u5229\u7528\u9875\u9762\u7684\u7a7a\u95f4\uff0c\u5c3d\u53ef\u80fd\u5c55\u793a\u591a\u7684\u56fe\u7247\u3002\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u6cd5\u633a\u591a\uff0c\u80fd\u505a\u5230\u54cd\u5e94\u5f0f\u5217\u6570\u53d8\u5316\uff0c\u81ea\u7531\u5e03\u5c40\u7684\u5e76\u4e0d\u591a\u3002\u81ea\u5df1\u5f00\u53d1\u4e86\u4e00\u4e2a\u4f5c\u54c1\u96c6\u9875\u9762\uff0c\u6b63\u597d\u7814\u7a76\u4e00\u4e0b\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u6cd5\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.brain1981.com\\\/829.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.brain1981.com\\\/829.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/blog.brain1981.com\\\/829.html#primaryimage\",\"url\":\"https:\\\/\\\/blog.brain1981.com\\\/wp-content\\\/uploads\\\/2014\\\/10\\\/pinterest1.jpg\",\"contentUrl\":\"https:\\\/\\\/blog.brain1981.com\\\/wp-content\\\/uploads\\\/2014\\\/10\\\/pinterest1.jpg\",\"width\":750,\"height\":388},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.brain1981.com\\\/829.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/blog.brain1981.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6d45\u8c08\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u5f0f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.brain1981.com\\\/#website\",\"url\":\"https:\\\/\\\/blog.brain1981.com\\\/\",\"name\":\"Brain\u7684\u6280\u672f\u7b14\u8bb0\",\"description\":\"WordPress\u5efa\u7ad9\u5f00\u53d1\u6559\u7a0b\u4e0e\u6280\u672f\u7814\u7a76\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.brain1981.com\\\/#\\\/schema\\\/person\\\/7689202bbb2f967b4c66309c1cc5e65d\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blog.brain1981.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/blog.brain1981.com\\\/#\\\/schema\\\/person\\\/7689202bbb2f967b4c66309c1cc5e65d\",\"name\":\"Brain\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/blog.brain1981.com\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/favicon.webp\",\"url\":\"https:\\\/\\\/blog.brain1981.com\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/favicon.webp\",\"contentUrl\":\"https:\\\/\\\/blog.brain1981.com\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/favicon.webp\",\"width\":75,\"height\":75,\"caption\":\"Brain\"},\"logo\":{\"@id\":\"https:\\\/\\\/blog.brain1981.com\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/favicon.webp\"},\"sameAs\":[\"http:\\\/\\\/brain1981.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u6d45\u8c08\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u5f0f - Brain\u7684\u6280\u672f\u7b14\u8bb0","description":"\u5982\u679c\u6709\u4e00\u5927\u6279\u56fe\u7247\u9700\u8981\u5c55\u793a\uff0c\u539f\u59cb\u56fe\u7247\u5c3a\u5bf8\u4e0d\u4e00\u81f4\uff0c\u53c8\u5e0c\u671b\u6bcf\u5f20\u56fe\u7247\u90fd\u80fd\u4e0d\u526a\u88c1\u5b8c\u6574\u663e\u793a\uff0c\u5c31\u8981\u7ed9\u56fe\u7247\u89c4\u5b9a\u4e00\u4e2a\u5bbd\u5ea6\uff0c\u89e3\u653e\u5b83\u4eec\u7684\u9ad8\u5ea6\u3002\u5229\u7528\u7f51\u9875\u9ad8\u5ea6\u4e0d\u9650\u8fd9\u4e2a\u7279\u6027\uff0c\u5145\u5206\u5229\u7528\u9875\u9762\u7684\u7a7a\u95f4\uff0c\u5c3d\u53ef\u80fd\u5c55\u793a\u591a\u7684\u56fe\u7247\u3002\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u6cd5\u633a\u591a\uff0c\u80fd\u505a\u5230\u54cd\u5e94\u5f0f\u5217\u6570\u53d8\u5316\uff0c\u81ea\u7531\u5e03\u5c40\u7684\u5e76\u4e0d\u591a\u3002\u81ea\u5df1\u5f00\u53d1\u4e86\u4e00\u4e2a\u4f5c\u54c1\u96c6\u9875\u9762\uff0c\u6b63\u597d\u7814\u7a76\u4e00\u4e0b\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u6cd5\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.brain1981.com\/829.html","og_locale":"zh_CN","og_type":"article","og_title":"\u6d45\u8c08\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u5f0f - Brain\u7684\u6280\u672f\u7b14\u8bb0","og_description":"\u5982\u679c\u6709\u4e00\u5927\u6279\u56fe\u7247\u9700\u8981\u5c55\u793a\uff0c\u539f\u59cb\u56fe\u7247\u5c3a\u5bf8\u4e0d\u4e00\u81f4\uff0c\u53c8\u5e0c\u671b\u6bcf\u5f20\u56fe\u7247\u90fd\u80fd\u4e0d\u526a\u88c1\u5b8c\u6574\u663e\u793a\uff0c\u5c31\u8981\u7ed9\u56fe\u7247\u89c4\u5b9a\u4e00\u4e2a\u5bbd\u5ea6\uff0c\u89e3\u653e\u5b83\u4eec\u7684\u9ad8\u5ea6\u3002\u5229\u7528\u7f51\u9875\u9ad8\u5ea6\u4e0d\u9650\u8fd9\u4e2a\u7279\u6027\uff0c\u5145\u5206\u5229\u7528\u9875\u9762\u7684\u7a7a\u95f4\uff0c\u5c3d\u53ef\u80fd\u5c55\u793a\u591a\u7684\u56fe\u7247\u3002\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u6cd5\u633a\u591a\uff0c\u80fd\u505a\u5230\u54cd\u5e94\u5f0f\u5217\u6570\u53d8\u5316\uff0c\u81ea\u7531\u5e03\u5c40\u7684\u5e76\u4e0d\u591a\u3002\u81ea\u5df1\u5f00\u53d1\u4e86\u4e00\u4e2a\u4f5c\u54c1\u96c6\u9875\u9762\uff0c\u6b63\u597d\u7814\u7a76\u4e00\u4e0b\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u6cd5\u3002","og_url":"https:\/\/blog.brain1981.com\/829.html","og_site_name":"Brain\u7684\u6280\u672f\u7b14\u8bb0","article_published_time":"2014-10-31T09:36:39+00:00","article_modified_time":"2022-04-08T17:05:32+00:00","og_image":[{"url":"https:\/\/blog.brain1981.com\/wp-content\/uploads\/2014\/10\/pinterest1.jpg","type":"","width":"","height":""}],"author":"Brain","twitter_misc":{"\u4f5c\u8005":"Brain","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.brain1981.com\/829.html#article","isPartOf":{"@id":"https:\/\/blog.brain1981.com\/829.html"},"author":{"name":"Brain","@id":"https:\/\/blog.brain1981.com\/#\/schema\/person\/7689202bbb2f967b4c66309c1cc5e65d"},"headline":"\u6d45\u8c08\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u5f0f","datePublished":"2014-10-31T09:36:39+00:00","dateModified":"2022-04-08T17:05:32+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.brain1981.com\/829.html"},"wordCount":86,"commentCount":0,"publisher":{"@id":"https:\/\/blog.brain1981.com\/#\/schema\/person\/7689202bbb2f967b4c66309c1cc5e65d"},"image":{"@id":"https:\/\/blog.brain1981.com\/829.html#primaryimage"},"thumbnailUrl":"https:\/\/blog.brain1981.com\/wp-content\/uploads\/2014\/10\/pinterest1.jpg","keywords":["CSS","Javascript","\u54cd\u5e94\u5f0f\u5e03\u5c40","\u7011\u5e03\u6d41"],"articleSection":["\u524d\u7aef\u5f00\u53d1"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.brain1981.com\/829.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.brain1981.com\/829.html","url":"https:\/\/blog.brain1981.com\/829.html","name":"\u6d45\u8c08\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u5f0f - Brain\u7684\u6280\u672f\u7b14\u8bb0","isPartOf":{"@id":"https:\/\/blog.brain1981.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.brain1981.com\/829.html#primaryimage"},"image":{"@id":"https:\/\/blog.brain1981.com\/829.html#primaryimage"},"thumbnailUrl":"https:\/\/blog.brain1981.com\/wp-content\/uploads\/2014\/10\/pinterest1.jpg","datePublished":"2014-10-31T09:36:39+00:00","dateModified":"2022-04-08T17:05:32+00:00","description":"\u5982\u679c\u6709\u4e00\u5927\u6279\u56fe\u7247\u9700\u8981\u5c55\u793a\uff0c\u539f\u59cb\u56fe\u7247\u5c3a\u5bf8\u4e0d\u4e00\u81f4\uff0c\u53c8\u5e0c\u671b\u6bcf\u5f20\u56fe\u7247\u90fd\u80fd\u4e0d\u526a\u88c1\u5b8c\u6574\u663e\u793a\uff0c\u5c31\u8981\u7ed9\u56fe\u7247\u89c4\u5b9a\u4e00\u4e2a\u5bbd\u5ea6\uff0c\u89e3\u653e\u5b83\u4eec\u7684\u9ad8\u5ea6\u3002\u5229\u7528\u7f51\u9875\u9ad8\u5ea6\u4e0d\u9650\u8fd9\u4e2a\u7279\u6027\uff0c\u5145\u5206\u5229\u7528\u9875\u9762\u7684\u7a7a\u95f4\uff0c\u5c3d\u53ef\u80fd\u5c55\u793a\u591a\u7684\u56fe\u7247\u3002\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u6cd5\u633a\u591a\uff0c\u80fd\u505a\u5230\u54cd\u5e94\u5f0f\u5217\u6570\u53d8\u5316\uff0c\u81ea\u7531\u5e03\u5c40\u7684\u5e76\u4e0d\u591a\u3002\u81ea\u5df1\u5f00\u53d1\u4e86\u4e00\u4e2a\u4f5c\u54c1\u96c6\u9875\u9762\uff0c\u6b63\u597d\u7814\u7a76\u4e00\u4e0b\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u6cd5\u3002","breadcrumb":{"@id":"https:\/\/blog.brain1981.com\/829.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.brain1981.com\/829.html"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/blog.brain1981.com\/829.html#primaryimage","url":"https:\/\/blog.brain1981.com\/wp-content\/uploads\/2014\/10\/pinterest1.jpg","contentUrl":"https:\/\/blog.brain1981.com\/wp-content\/uploads\/2014\/10\/pinterest1.jpg","width":750,"height":388},{"@type":"BreadcrumbList","@id":"https:\/\/blog.brain1981.com\/829.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/blog.brain1981.com\/"},{"@type":"ListItem","position":2,"name":"\u6d45\u8c08\u54cd\u5e94\u5f0f\u7011\u5e03\u6d41\u7684\u5b9e\u73b0\u65b9\u5f0f"}]},{"@type":"WebSite","@id":"https:\/\/blog.brain1981.com\/#website","url":"https:\/\/blog.brain1981.com\/","name":"Brain\u7684\u6280\u672f\u7b14\u8bb0","description":"WordPress\u5efa\u7ad9\u5f00\u53d1\u6559\u7a0b\u4e0e\u6280\u672f\u7814\u7a76","publisher":{"@id":"https:\/\/blog.brain1981.com\/#\/schema\/person\/7689202bbb2f967b4c66309c1cc5e65d"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.brain1981.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/blog.brain1981.com\/#\/schema\/person\/7689202bbb2f967b4c66309c1cc5e65d","name":"Brain","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/blog.brain1981.com\/wp-content\/uploads\/2026\/01\/favicon.webp","url":"https:\/\/blog.brain1981.com\/wp-content\/uploads\/2026\/01\/favicon.webp","contentUrl":"https:\/\/blog.brain1981.com\/wp-content\/uploads\/2026\/01\/favicon.webp","width":75,"height":75,"caption":"Brain"},"logo":{"@id":"https:\/\/blog.brain1981.com\/wp-content\/uploads\/2026\/01\/favicon.webp"},"sameAs":["http:\/\/brain1981.com"]}]}},"views":14947,"_links":{"self":[{"href":"https:\/\/blog.brain1981.com\/wp-json\/wp\/v2\/posts\/829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.brain1981.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.brain1981.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.brain1981.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.brain1981.com\/wp-json\/wp\/v2\/comments?post=829"}],"version-history":[{"count":16,"href":"https:\/\/blog.brain1981.com\/wp-json\/wp\/v2\/posts\/829\/revisions"}],"predecessor-version":[{"id":2825,"href":"https:\/\/blog.brain1981.com\/wp-json\/wp\/v2\/posts\/829\/revisions\/2825"}],"wp:attachment":[{"href":"https:\/\/blog.brain1981.com\/wp-json\/wp\/v2\/media?parent=829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.brain1981.com\/wp-json\/wp\/v2\/categories?post=829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.brain1981.com\/wp-json\/wp\/v2\/tags?post=829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}