{"id":10609,"date":"2022-11-06T17:27:52","date_gmt":"2022-11-06T09:27:52","guid":{"rendered":"https:\/\/www.zhangxinxu.com\/wordpress\/?p=10609"},"modified":"2022-11-06T17:27:52","modified_gmt":"2022-11-06T09:27:52","slug":"web-direction-reverse-css-dom","status":"publish","type":"post","link":"https:\/\/www.zhangxinxu.com\/wordpress\/2022\/11\/web-direction-reverse-css-dom\/","title":{"rendered":"Web\u524d\u7aef\u5f00\u53d1\u4e2d\u7684\u53cd\u5411\u4e0e\u5012\u5e8f"},"content":{"rendered":"<p>by <a href=\"https:\/\/www.zhangxinxu.com\/\">zhangxinxu<\/a> from <a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/?p=10609\">https:\/\/www.zhangxinxu.com\/wordpress\/?p=10609<\/a> \u946b\u7a7a\u95f4-\u946b\u751f\u6d3b<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\/202211-reversed.png';<\/script><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202211\/cover-revrsed.png\" width=\"481\" height=\"300\" alt=\"\u53cd\u5411\u6392\u5e8f\" class=\"alignright clip thumb size-medium\" \/><\/p>\n<p>Web\u4e2d\u6709\u4e0d\u5c11HTML\u5c5e\u6027\u6216\u8005CSS\u5c5e\u6027\u53ef\u4ee5\u5b9e\u73b0\u53cd\u5411\u6216\u8005\u5012\u5e8f\u7684\u6548\u679c\uff0c\u8fd9\u91cc\u6574\u7406\u4e0b\uff0c\u6b22\u8fce\u8865\u5145\u3002<\/p>\n<h3>\u4e00\u3001HTML reversed\u5c5e\u6027<\/h3>\n<p>\u5728HTML\u4e2d\uff0c<code>&lt;ol&gt;<\/code>\u5143\u7d20\u652f\u6301\u540d\u4e3a<code>reversed<\/code>\u7684\u5c5e\u6027\uff0c\u53ef\u4ee5\u5728\u4e0d\u6539\u53d8DOM\u6392\u5e8f\u7684\u540c\u65f6\uff0c\u53ea\u8ba9\u524d\u9762\u7684\u5e8f\u53f7\u5012\u5e8f\uff0c\u4f8b\u5982\uff1a<\/p>\n<pre>&lt;ol reversed&gt;\r\n  &lt;li&gt;zhang: \u8fd9\u4e2a\u5c5e\u6027&lt;\/li&gt;\r\n  &lt;li&gt;xin: IE\u6d4f\u89c8\u5668&lt;\/li&gt;\r\n  &lt;li&gt;xu: \u5e76\u4e0d\u652f\u6301&lt;\/li&gt;\r\n&lt;\/ol&gt;<\/pre>\n<p>\u5b9e\u65f6\u6e32\u67d3\u6548\u679c\u5982\u4e0b\uff1a<\/p>\n<ol reversed>\n<li>zhang: \u8fd9\u4e2a\u5c5e\u6027<\/li>\n<li>xin: IE\u6d4f\u89c8\u5668<\/li>\n<li>xu: \u5e76\u4e0d\u652f\u6301<\/li>\n<\/ol>\n<p>\u5bf9\u4e8eChrome\uff0cSafari\u7b49\u73b0\u4ee3\u6d4f\u89c8\u5668\uff0c\u5176\u517c\u5bb9\u6027\u662f\u76f8\u5f53\u4e0d\u9519\u7684\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202211\/2022-11-06_135603.png\" width=\"654\" height=\"384\" alt=\"\u5217\u8868\u5012\u5e8f\u7684\u517c\u5bb9\u6027\" class=\"alignnone size-medium\" \/><\/p>\n<h3>\u4e8c\u3001direction\u4e0e\u6c34\u5e73\u5012\u6392<\/h3>\n<p><code>direction<\/code>\u5c5e\u6027\u6211\u4e4b\u524d\u6709\u8be6\u7ec6\u4ecb\u7ecd\u8fc7\uff0c\u53ef\u4ee5\u53c2\u89c1\u201c<a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/2016\/03\/css-direction-introduction-apply\/\">CSS direction\u5c5e\u6027\u7b80\u4ecb\u4e0e\u5b9e\u9645\u5e94\u7528<\/a>\u201d\u4e00\u6587\u3002<\/p>\n<p>\u5176\u4f5c\u7528\u662f\u8bbe\u7f6e\u5185\u8054\u5143\u7d20\u6216\u8005grid\u5e03\u5c40\u4e2d\u7684\u5b50\u5143\u7d20\u7684\u6c34\u5e73\u6d41\u5411\u3002<\/p>\n<p>\u6211\u4eec\u53ef\u4ee5\u57fa\u4e8e\u8fd9\u4e2a\u7279\u6027\u8ba9\u5143\u7d20\u6c34\u5e73\u5012\u5e8f\u6392\u5217\u3002<\/p>\n<p>\u524d\u63d0\u662f\u8fd9\u4e2a\u5143\u7d20\u662f\u5185\u8054\u6c34\u5e73\u7684\uff0cdisplay\u8ba1\u7b97\u503c\u662f\u4e0b\u9762\u4e2d\u7684\u4efb\u610f\u4e00\u4e2a\u90fd\u662f\u53ef\u4ee5\u7684\uff1ainline\u3001inline-block\u3001inline-table\u3001inline-flex\u3001inline-grid\u3002<\/p>\n<p>\u6bd4\u65b9\u8bf4\u4e0b\u9762\u8fd9\u4e2a\u4f8b\u5b50\uff1a<\/p>\n<pre>&lt;div class=\"layout\"&gt;\r\n  &lt;layout-square&gt;1&lt;\/layout-square&gt;\r\n  &lt;layout-square&gt;2&lt;\/layout-square&gt;\r\n  &lt;layout-square&gt;3&lt;\/layout-square&gt;\r\n&lt;\/div&gt;<\/pre>\n<pre>.layout {\r\n  direction:rtl;\r\n  text-align:center;\r\n}\r\nlayout-square {\r\n  display: inline-grid;\r\n  width: 100px; height: 100px;\r\n  place-items: center;\r\n  background-color: skyblue;\r\n}<\/pre>\n<style>.layout {  direction:rtl;  text-align:center;}layout-square {  display: inline-grid;  width: 100px; height: 100px;  place-items: center;  background-color: skyblue;}.operate, .view {\n  display:flex;\n  font-size:14px;\n  gap: 5px;\n  margin-block:1em;\n}\n.operate input {\n  border: 1px solid #ddd;\n  -webkit-appearance: none;\n  appearance: none;\n  margin: 0;\n  padding: 4px;\n}\n.operate input::before {\n  content: 'flex-direction: ' attr(value);\n}\n.operate :checked {\n  border-color:skyblue;\n  background-color:#f0f3f9;\n}<\/style>\n<p>\u6e32\u67d3\u6548\u679c\u5982\u4e0b\u6240\u793a\uff08\u53ef\u4ee5\u6253\u5f00\u63a7\u5236\u53f0\u67e5\u770b\u6e90\u7801\uff09\uff1a<\/p>\n<div class=\"layout\"><layout-square>1<\/layout-square>    <layout-square>2<\/layout-square>    <layout-square>3<\/layout-square>  <\/div>\n<p><code>direction<\/code>\u5c5e\u6027\u5b9e\u73b0\u6c34\u5e73\u5012\u5e8f\u7684\u4f18\u70b9\u662f\u517c\u5bb9\u6027\u975e\u5e38\u7684\u597d\uff0c\u4e0d\u8fc7\u5982\u4eca\u6709\u4e86flex\u5e03\u5c40\uff0c\u5176\u5e94\u7528\u4ef7\u503c\u5c31\u6ca1\u90a3\u4e48\u5927\u4e86\uff0c\u66f4\u591a\u7684\u662f\u7528\u5728\u5bf9\u79f0\u5e03\u5c40\u6216\u8005\u65e0\u6cd5\u53cd\u5411\u6392\u5217\u7684grid\u5e03\u5c40\u4e2d\u3002<\/p>\n<p>\u7c7b\u4f3c\u7684\u5c5e\u6027\u8fd8\u6709<code>writing-mode<\/code>\u5c5e\u6027\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5782\u76f4\u65b9\u5411\u7684\u5012\u5e8f\uff0c\u6709\u5174\u8da3\u53ef\u4ee5\u53c2\u89c1\u8fd9\u7bc7\u7ecf\u5178\u6587\u7ae0\uff1a\u201c<a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/2016\/04\/css-writing-mode\/\">\u6539\u53d8CSS\u4e16\u754c\u7eb5\u6a2a\u89c4\u5219\u7684writing-mode\u5c5e\u6027<\/a>\u201d\u3002<\/p>\n<h3>\u4e09\u3001flex-direction\u4e0e\u65b9\u5411\u63a7\u5236<\/h3>\n<p>\u8981\u8bf4\u76ee\u524d\u63a7\u5236\u5143\u7d20\u5448\u73b0\u65b9\u5411\u6700\u4f73\u5b9e\u73b0\u975eflex\u5e03\u5c40\u83ab\u5c5e\u4e86\u3002<\/p>\n<p>\u5bf9\u5e94\u7684CSS\u5c5e\u6027\u4e3a<code>flex-direction<\/code>\uff08\u65e9\u671f\u53eb\u505a<code>box-direction<\/code>\uff09\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u5217\u8868\u5143\u7d20\u662f\u6c34\u5e73\u6216\u5782\u76f4\u65b9\u5411\u662f\u5426\u5012\u5e8f\u663e\u793a\uff08\u89c6\u89c9\u987a\u5e8f\u548cDOM\u987a\u5e8f\u76f8\u53cd\uff09\u3002<\/p>\n<pre>flex-direction: row-reverse;\r\nflex-direction: column-reverse;<\/pre>\n<p>\u5927\u5bb6\u53ef\u4ee5\u70b9\u51fb\u4e0b\u9762\u56db\u4e2a\u4e0d\u540c\u7684\u9009\u9879\uff0c\u611f\u53d7\u4e0b\u4e0d\u540c\u7684\u5e03\u5c40\u6548\u679c\u3002<\/p>\n<div class=\"layout2\">\n<div id=\"divOpt\" class=\"operate\"><input type=\"radio\" name=\"flexDir\" value=\"row\" checked>      <input type=\"radio\" name=\"flexDir\" value=\"row-reverse\">      <input type=\"radio\" name=\"flexDir\" value=\"column\">      <input type=\"radio\" name=\"flexDir\" value=\"column-reverse\">    <\/div>\n<div id=\"divView\" class=\"view\"> <layout-square>1<\/layout-square> <layout-square>2<\/layout-square> <layout-square>3<\/layout-square><\/div>\n<\/p><\/div>\n<p>  <script>divOpt.onclick=function () {divView.style.flexDirection=this.querySelector(':checked').value;};<\/script><\/p>\n<p><code>flex-direction<\/code>\u5c5e\u6027\u53ef\u4ee5\u5e94\u5bf980%\u9700\u8981DOM\u53cd\u5411\u5448\u73b0\u7684\u573a\u666f\u3002<\/p>\n<h3>\u56db\u3001order\u5c5e\u6027\u4e0e\u4efb\u610f\u63a7\u5236<\/h3>\n<p>Flex\u5e03\u5c40\u4e2d\u7684order\u5c5e\u6027\u4e5f\u662f\u53ef\u4ee5\u8bbe\u7f6eDOM\u5143\u7d20\u7684\u89c6\u89c9\u8868\u73b0\u987a\u5e8f\u548c\u5b9e\u9645\u987a\u5e8f\u4e0d\u4e00\u6837\u7684\uff0c\u5176\u4f18\u70b9\u5728\u4e8e\u53ef\u4ee5\u7075\u6d3b\u63a7\u5236\u6bcf\u4e00\u4e2a\u72ec\u7acb\u5143\u7d20\u7684\u987a\u5e8f\u3002<\/p>\n<p>\u4f8b\u5982\u67d0\u9605\u8bfb\u7f51\u7ad9\uff0c\u5c31\u4f7f\u7528order\u5c5e\u6027\u8ba9\u6bcf\u4e00\u4e2a\u6587\u5b57\u4e71\u5e8f\uff0c\u6765\u589e\u52a0\u9632\u76d7\u7684\u95e8\u69db\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202211\/2022-11-06_153834.png\" width=\"728\" height=\"288\" alt=\"\u4e71\u5e8f\u589e\u52a0\u95e8\u69db\" class=\"alignnone size-medium\" \/><\/p>\n<p>\u76f8\u6bd4\u53e6\u5916\u4e00\u4e2a\u9605\u8bfb\u7f51\u7ad9\u4f7f\u7528\u7edd\u5bf9\u5b9a\u4f4d\u548ctransform\u5b9a\u4f4d\u7684\u4e71\u5e8f\u800c\u8a00\uff0c\u4ee3\u7801\u66f4\u5c11\uff0c\u6027\u80fd\u66f4\u597d\uff0c\u5f00\u53d1\u4e5f\u66f4\u7b80\u5355\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202211\/2022-11-06_155530.png\" width=\"728\" height=\"166\" alt=\"\u53e6\u5916\u7684\u5b9a\u4f4d\" class=\"alignnone size-medium\" \/><\/p>\n<p>order\u5c5e\u6027\u8fd8\u652f\u6301\u8d1f\u503c\uff0corder:-999\uff0corder:-1\u90fd\u662f\u53ef\u4ee5\u7684\uff0c\u6709\u65f6\u5019\u4f60\u5e0c\u671b\u67d0\u5143\u7d20\u5728\u6700\u524d\u9762\uff0c\u5c31\u53ef\u4ee5\u8bbe\u7f6e order: -1\u3002<\/p>\n<h3>\u4e94\u3001Grid\u5e03\u5c40\u4e2d\u7684\u53cd\u5411\u6392\u5217<\/h3>\n<p>Grid\u7531\u4e8e\u662f\u4e8c\u7ef4\u5e03\u5c40\uff0c\u5e76\u4e0d\u5b58\u5728\u53cd\u5411\u6392\u5e8f\u7684\u6982\u5ff5\uff0c\u4f46\u662f\uff0c\u4e5f\u4e0d\u662f\u8bf4\u4e0d\u80fd\u6539\u53d8\u5143\u7d20\u7684\u6d41\u5411\uff0c\u6216\u8005\u663e\u793a\u987a\u5e8f\u3002<\/p>\n<p><code>grid-auto-flow<\/code>\u5c5e\u6027\u53ef\u4ee5\u8bbe\u7f6eGrid\u5e03\u5c40\u4e2d\u7684\u7f51\u683c\u662f\u6709\u9650\u6c34\u5e73\u6392\u5217\u8fd8\u662f\u4f18\u5148\u5782\u76f4\u6392\u5217\u3002<\/p>\n<p>\u8bed\u6cd5\uff1a<\/p>\n<pre>\/* \u4f18\u5148\u6c34\u5e73 *\/\r\ngrid-auto-flow: row;\r\n\/* \u4f18\u5148\u5782\u76f4 *\/\r\ngrid-auto-flow: column;<\/pre>\n<p>\u8fd9\u4e2a\u6211\u5728\u201c<a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/2020\/01\/css-grid-auto-flow\/\">CSS grid-auto-flow\u6df1\u5165\u7406\u89e3<\/a>\u201d\u8fd9\u7bc7\u6587\u7ae0\u4e2d\u6709\u6df1\u5165\u4ecb\u7ecd\uff0c\u8fd9\u91cc\u4e0d\u5c55\u5f00\u3002<\/p>\n<h4>\u4f4d\u7f6e\u63a7\u5236<\/h4>\n<p>Grid\u5e03\u5c40\u4e2d\u5143\u7d20\u6240\u5904\u4f4d\u7f6e\u7684\u63a7\u5236\u662f\u901a\u8fc7<code>grid-area<\/code>\u5c5e\u6027\u6307\u5b9a\u7684\uff0c\u503c\u53ef\u4ee5\u662f\u8d77\u6b62\u7f51\u683c\u7ebf\uff0c\u4e5f\u53ef\u4ee5\u503c\u81ea\u5b9a\u4e49\u7684\u540d\u79f0\u3002<\/p>\n<p>\u4f8b\u5982\uff1a<\/p>\n<pre>grid-area: 1 \/ 2;\r\n\/* \u5c06\u9996\u4e2a\u7f51\u683c\u547d\u540d\u4e3afirst-grid *\/\r\ngrid-area: first-grid;<\/pre>\n<p>\u4f46\u8fd9\u79cd\u5c5e\u4e8e\u5355\u72ec\u6307\u5b9a\uff0c\u800c\u4e0d\u662f\u81ea\u52a8\u53cd\u5411\u6392\u5e8f\u3002<\/p>\n<p>\u5982\u679c\u5e0c\u671b\u81ea\u52a8\u53cd\u5411\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u5f00\u59cb\u63d0\u5230\u7684<code>direction: rtl<\/code>\u6765\u5b9e\u73b0\u3002<\/p>\n<p>\u4f8b\u5982MDN\u6587\u6863\u4e2d\u7684\u8fd9\u4e2a\u793a\u4f8b\uff0c\u52a0\u4e0a<code>direction:rtl<\/code>\u4e4b\u540e\u5c31\u662f\u4ece\u53f3\u5f00\u59cb\u5448\u73b0\u7684\u4e86\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202211\/2022-11-06_164135.png\" width=\"540\" height=\"240\" alt=\"\u53cd\u5411\u6392\u5217\" class=\"alignnone size-medium\" \/><\/p>\n<h3>\u516d\u3001float\u6d6e\u52a8\u548cabsolute\u7edd\u5bf9\u5b9a\u4f4d<\/h3>\n<p>\u6d6e\u52a8\u548c\u7edd\u5bf9\u5b9a\u4f4d\u4e5f\u53ef\u4ee5\u5b9e\u73b0DOM\u5728\u6587\u6863\u6d41\u7684\u540e\u9762\uff0c\u4f46\u662f\u89c6\u89c9\u5c55\u793a\u5374\u5728\u524d\u9762\u3002<\/p>\n<p>\u4f8b\u5982\u672c\u535a\u5ba2\u5217\u8868\u9875\u7684\u6587\u7ae0\u914d\u56fe\uff0c\u867d\u7136\u5728\u53f3\u4fa7\u663e\u793a\uff0c\u4f46\u662fDOM\u7684\u4f4d\u7f6e\u5374\u662f\u5728\u5de6\u4fa7\uff0c\u56e0\u4e3a\u8fd9\u91cc\u4f7f\u7528\u7684\u662f\u53f3\u6d6e\u52a8\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202211\/2022-11-06_163254.png\" width=\"714\" height=\"259\" alt=\"\u6d6e\u52a8\u4e0e\u4f4d\u7f6e\u793a\u610f\" class=\"alignnone size-medium\" \/><\/p>\n<p>\u7edd\u5bf9\u5b9a\u4f4d\u90a3\u66f4\u4e0d\u7528\u8bf4\u4e86\uff0cleft,top\u7b49\u5b9a\u4f4d\u53ef\u4ee5\u8ba9\u5143\u7d20\u4e0d\u53d7\u75ab\u60c5\u5f71\u54cd\uff0c\u5230\u5904\u98de\u3002<\/p>\n<h3>\u4e03\u3001\u52a8\u753b\u4e2d\u7684reverse<\/h3>\n<p>CSS\u4e2d\u7684<code>animation-direction<\/code>\u5c5e\u6027\u652f\u6301\u4e00\u4e2a\u540d\u4e3a<code>reverse<\/code>\u5173\u952e\u5b57\uff0c\u53ef\u4ee5\u8ba9\u52a8\u753b\u53cd\u5411\u6267\u884c\u3002<\/p>\n<p>\u4f8b\u5982\uff0c\u5143\u7d20\u6de1\u5165\u6548\u679c\u8fd9\u6837\u7684\uff1a<\/p>\n<pre>.element { animation: fadeIn .2s both;}\r\n\r\n@keyframes fadeIn {\r\n  0% { opacity: 0; }\r\n  100% { opacity: 1; }\r\n}<\/pre>\n<p>\u60f3\u8981\u6de1\u51fa\uff0c\u65e0\u9700\u518d\u91cd\u65b0\u547d\u540d\u4e2a\u52a8\u753b\u5173\u952e\u5e27\uff0c\u4f7f\u7528<code>reverse<\/code>\u5173\u952e\u5b57\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<pre>.element.out { animation: fadeIn .2s reverse both;}<\/pre>\n<p>\u5bf9\u4e8e Web animation API\u4e5f\u662f\u5982\u6b64\uff0c\u5176\u652f\u6301\u4e00\u4e2a\u540d\u4e3a<code>reverse()<\/code>\u7684\u65b9\u6cd5\u3002<\/p>\n<p>\u6709\u5174\u8da3\u53ef\u4ee5\u8bbf\u95ee\u201c<a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/2018\/03\/web-animations-api-dynamic-feature-animation\/\">\u501f\u52a9Web Animations API\u5b9e\u73b0JS keyframes\u52a8\u753b<\/a>\u201d\u8fd9\u7bc7\u6587\u7ae0\u3002<\/p>\n<h3>\u516b\u3001\u5dee\u4e0d\u591a\u4e86\uff0c\u5dee\u4e0d\u591a\u4e86<\/h3>\n<p>\u4e5f\u5c31\u662f\u4e00\u65f6\u5174\u8d77\uff0c\u60f3\u6574\u7406\u4e0b\u8fd9\u4e2a\u4e13\u9898\uff0c\u4ee5\u540e\u4f30\u8ba1\u8fd8\u4f1a\u51fa\u73b0\u65b0\u5947\u7684\u73a9\u610f\uff0c\u5230\u65f6\u5019\u5c31\u53ef\u4ee5\u5f80\u8fd9\u91cc\u585e\uff0c\u4e45\u800c\u4e45\u4e4b\uff0c\u672c\u6587\u5c31\u662f\u4e2a\u5b9d\u85cf\u8d44\u6e90\u4e86\u3002<\/p>\n<p>\u6b22\u8fce\u8865\u5145\u4e0e\u53cd\u9988\u3002<\/p>\n<p>JS\u4e2d\u8fd8\u6709\u4e2aArray.prototype.reverse()\u7684API\u65b9\u6cd5\uff0c\u53ef\u4ee5\u8ba9\u6570\u7ec4\u53cd\u5e8f\uff0c\u8fd4\u56de\u7684\u662f\u539f\u6570\u7ec4\uff08\u5012\u5e8f\u540e\u7684\u539f\u6570\u7ec4\uff09\uff0c\u5982\u679c\u5e0c\u671b\u53cd\u5e8f\u4e0d\u5f71\u54cd\u539f\u6570\u7ec4\uff0c\u9700\u8981\u63d0\u524d\u590d\u5236\u3002<\/p>\n<p>\u597d\u4e86\uff0c\u5c31\u8bf4\u8fd9\u4e48\u591a\u5427\u3002<\/p>\n<p>\u5468\u672b\u5199\u4e24\u7bc7\u6587\u7ae0\u7684\u8ba1\u5212\u7b97\u662f\u5b8c\u6210\u4e86\uff0c\u8fd8\u6709\u4e2a\u5c0f\u518c\u7684\u63d0\u7eb2\u8981\u5199\uff0c\u4e8b\u513f\u597d\u591a\uff0cB\u7ad9\u89c6\u9891\u66f4\u65b0\uff0cCSS\u4e16\u754c\u4fee\u8ba2\u7248\uff0c\u6bcf\u5468\u4e00\u9493\uff0c\u8fd8\u6709\u5199\u5c0f\u8bf4\uff0c\u4e4b\u524d\u4e00\u76f4\u8bf4\u6587\u7ae0\u53ef\u4ee5\u540c\u6b65\u5230\u6398\u91d1\uff0c\u4e00\u76f4\u6ca1\u8fd9\u4e2a\u65f6\u95f4\u548c\u7cbe\u529b\uff0c\u6211\u8981\u60f3\u60f3\u662f\u4e0d\u662f\u53ef\u4ee5\u5916\u5305\u51fa\u53bb\u3002<\/p>\n<p>\u5148\u9171\u7d2b\u5427\uff0c\u611f\u8c22\u5927\u5bb6\u7684\u9605\u8bfb\uff01<\/p>\n<p><img decoding=\"async\" src=\"\/\/mat1.gtimg.com\/www\/mb\/images\/face\/74.gif\" 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=10609\">https:\/\/www.zhangxinxu.com\/wordpress\/?p=10609<\/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\/202211\/cover-revrsed.png\" width=\"160\" height=\"100\" alt=\"\u53cd\u5411\u6392\u5e8f\" class=\"alignright size-medium\" loading=\"lazy\" \/><\/p>\n<p>\u4ecb\u7ecd\u5728Web\u5e03\u5c40\u4e2d\uff0c\u6211\u6240\u77e5\u9053\u7684\u4e0e\u5012\u5e8f\u6392\u5217\uff0c\u6216\u53cd\u5411\u5e03\u5c40\uff0c\u6216\u4efb\u610f\u4f4d\u7f6e\u8bbe\u7f6e\u76f8\u5173\u7684\u5c5e\u6027\u548c\u6280\u672f\uff0c\u80af\u5b9a\u8fd8\u6709\u5176\u4ed6\u7b56\u7565\uff0c\u6b22\u8fce\u8865\u5145\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":[1875,1045,1336,1355,1342,694],"_links":{"self":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/10609"}],"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=10609"}],"version-history":[{"count":0,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/10609\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/media?parent=10609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/categories?post=10609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/tags?post=10609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}