{"id":27959,"date":"2024-11-24T09:04:19","date_gmt":"2024-11-24T01:04:19","guid":{"rendered":"https:\/\/fwq.ai\/blog\/27959\/"},"modified":"2024-11-24T09:04:19","modified_gmt":"2024-11-24T01:04:19","slug":"%e5%a6%82%e4%bd%95%e5%b0%86%e6%95%b0%e5%ad%97%e6%88%96%e5%9b%be%e6%a0%87%e7%bd%ae%e4%ba%8e%e6%96%87%e6%9c%ac%e6%9c%ab%e5%b0%be%e5%b9%b6%e5%b1%85%e4%b8%ad%e6%98%be%e7%a4%ba%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/27959\/","title":{"rendered":"\u5982\u4f55\u5c06\u6570\u5b57\u6216\u56fe\u6807\u7f6e\u4e8e\u6587\u672c\u672b\u5c3e\u5e76\u5c45\u4e2d\u663e\u793a\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/173137143249530.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u5c06\u6570\u5b57\u6216\u56fe\u6807\u7f6e\u4e8e\u6587\u672c\u672b\u5c3e\u5e76\u5c45\u4e2d\u663e\u793a\uff1f\u63d2\u56fe\" alt=\"\u5982\u4f55\u5c06\u6570\u5b57\u6216\u56fe\u6807\u7f6e\u4e8e\u6587\u672c\u672b\u5c3e\u5e76\u5c45\u4e2d\u663e\u793a\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>\u786e\u4fdd\u6570\u5b57\u6216\u56fe\u6807\u5c45\u4e2d\u4e14\u5c0f\u5b57\u53f7\u663e\u793a<\/strong><\/p>\n<p>\u8981\u5c06\u6570\u5b57\u6216\u56fe\u6807\u7f6e\u4e8e\u6587\u672c\u672b\u5c3e\u5e76\u5c45\u4e2d\u663e\u793a\uff0c\u540c\u65f6\u4fdd\u8bc1\u5176\u6bd4\u6587\u672c\u5c0f\uff0c\u8bf7\u9075\u5faa\u4ee5\u4e0b\u6b65\u9aa4\uff1a<\/p>\n<ol>\n<li> <strong>\u4f7f\u7528\u4f2a\u5143\u7d20<\/strong>\uff1a\u4f7f\u7528 ::after \u4f2a\u5143\u7d20\u5728\u6587\u672c\u540e\u6dfb\u52a0\u6570\u5b57\u6216\u56fe\u6807\u3002<\/li>\n<li> <strong>\u8bbe\u7f6e\u5185\u5bb9<\/strong>\uff1a\u901a\u8fc7 content \u5c5e\u6027\u8bbe\u7f6e\u8981\u6dfb\u52a0\u7684\u5185\u5bb9\u3002<\/li>\n<li> <strong>\u8c03\u6574\u5b57\u4f53\u5927\u5c0f<\/strong>\uff1a\u4f7f\u7528 font-size \u5c5e\u6027\u8c03\u6574\u6587\u672c\u540e\u5185\u5bb9\u7684\u5927\u5c0f\u3002<\/li>\n<\/ol>\n<p><strong>\u4ee3\u7801\u793a\u4f8b<\/strong>\uff1a\u4f7f\u7528 ::after \u4f2a\u5143\u7d20\u6dfb\u52a0\u6570\u5b57 &#8220;666&#8221;\uff0c\u4e14\u9002\u7528\u4e8e\u6240\u6709 <span> \u5143\u7d20\u3002<\/span><\/p>\n<pre>span::after {\n  content: \"666\";\n  font-size: 12px;\n  vertical-align: middle;\n}<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p><strong>\u81ea\u52a8\u5c45\u4e2d<\/strong>\uff1a\u4e3a\u4e86\u81ea\u52a8\u5c45\u4e2d\uff0c\u8bf7\u4f7f\u7528 vertical-align: middle\u3002\u6b64\u5c5e\u6027\u786e\u4fdd\u5185\u5bb9\u5728\u7236\u5143\u7d20\u5782\u76f4\u65b9\u5411\u4e0a\u5c45\u4e2d\u3002<\/p>\n<p><strong>\u7ed3\u679c<\/strong>\uff1a\u91c7\u7528\u8fd9\u4e9b\u6b65\u9aa4\u540e\uff0c\u6570\u5b57 &#8220;666&#8221; \u5c06\u7f6e\u4e8e\u6587\u672c\u672b\u5c3e\uff0c\u4e14\u5982\u679c\u5176\u9ad8\u5ea6\u6bd4\u6587\u672c\u5c0f\uff0c\u5219\u5c06\u5c45\u4e2d\u663e\u793a\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u5c06\u6570\u5b57\u6216\u56fe\u6807\u7f6e\u4e8e\u6587\u672c\u672b\u5c3e\u5e76\u5c45\u4e2d\u663e\u793a\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u786e\u4fdd\u6570\u5b57\u6216\u56fe\u6807\u5c45\u4e2d\u4e14\u5c0f\u5b57\u53f7\u663e\u793a \u8981\u5c06\u6570\u5b57\u6216\u56fe\u6807\u7f6e\u4e8e\u6587\u672c\u672b\u5c3e\u5e76\u5c45\u4e2d\u663e\u793a\uff0c\u540c\u65f6\u4fdd\u8bc1\u5176\u6bd4\u6587\u672c\u5c0f\uff0c\u8bf7\u9075\u5faa\u4ee5\u4e0b\u6b65\u9aa4\uff1a \u4f7f\u7528\u4f2a\u5143\u7d20\uff1a\u4f7f\u7528 ::after \u4f2a\u5143\u7d20\u5728\u6587\u672c\u540e\u6dfb\u52a0\u6570\u5b57\u6216\u56fe\u6807\u3002 \u8bbe\u7f6e\u5185\u5bb9\uff1a\u901a\u8fc7 content \u5c5e\u6027\u8bbe\u7f6e\u8981\u6dfb\u52a0\u7684\u5185\u5bb9\u3002 \u8c03\u6574\u5b57\u4f53\u5927\u5c0f\uff1a\u4f7f\u7528 font-size \u5c5e\u6027\u8c03\u6574\u6587\u672c\u540e\u5185\u5bb9\u7684\u5927\u5c0f\u3002 \u4ee3\u7801\u793a\u4f8b\uff1a\u4f7f\u7528 ::after \u4f2a\u5143\u7d20\u6dfb\u52a0\u6570\u5b57 &#8220;666&#8221;\uff0c\u4e14\u9002\u7528\u4e8e\u6240\u6709 \u5143\u7d20\u3002 span::after { content: &#8220;666&#8221;; font-size: 12px; vertical-align: middle; } \u767b\u5f55\u540e\u590d\u5236 \u81ea\u52a8\u5c45\u4e2d\uff1a\u4e3a\u4e86\u81ea\u52a8\u5c45\u4e2d\uff0c\u8bf7\u4f7f\u7528 vertical-align: middle\u3002\u6b64\u5c5e\u6027\u786e\u4fdd\u5185\u5bb9\u5728\u7236\u5143\u7d20\u5782\u76f4\u65b9\u5411\u4e0a\u5c45\u4e2d\u3002 \u7ed3\u679c\uff1a\u91c7\u7528\u8fd9\u4e9b\u6b65\u9aa4\u540e\uff0c\u6570\u5b57 &#8220;666&#8221; \u5c06\u7f6e\u4e8e\u6587\u672c\u672b\u5c3e\uff0c\u4e14\u5982\u679c\u5176\u9ad8\u5ea6\u6bd4\u6587\u672c\u5c0f\uff0c\u5219\u5c06\u5c45\u4e2d\u663e\u793a\u3002 \u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u5c06\u6570\u5b57\u6216\u56fe\u6807\u7f6e\u4e8e\u6587\u672c\u672b\u5c3e\u5e76\u5c45\u4e2d\u663e\u793a\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-27959","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/27959","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=27959"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/27959\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=27959"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=27959"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=27959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}