{"id":10422,"date":"2021-01-27T06:02:59","date_gmt":"2021-01-26T22:02:59","guid":{"rendered":"http:\/\/blog.idc.net\/10422\/"},"modified":"2021-01-27T06:02:59","modified_gmt":"2021-01-26T22:02:59","slug":"css%e9%a2%9c%e8%89%b2%e8%ae%be%e7%bd%ae%ef%bc%886%e7%a7%8d%e6%96%b9%e6%b3%95%ef%bc%89","status":"publish","type":"post","link":"https:\/\/idc.net\/help\/10422\/","title":{"rendered":"CSS\u989c\u8272\u8bbe\u7f6e\uff086\u79cd\u65b9\u6cd5\uff09"},"content":{"rendered":"<div class=\"\u201cidc_table\u201d\">\u6211\u4eec\u5728\u663e\u793a\u5c4f\u4e0a\u770b\u5230\u7684\u5404\u79cd\u989c\u8272\u90fd\u662f\u901a\u8fc7\u7ea2\uff08red\uff09\u3001\u7eff\uff08green\uff09\u3001\u84dd\uff08blue\uff09\u4e09\u539f\u8272\u7ec4\u5408\u800c\u6210\u7684\uff0c\u6309\u4e0d\u540c\u7684\u6bd4\u4f8b\u6df7\u5408\u8fd9\u4e09\u79cd\u989c\u8272\u5c31\u53ef\u4ee5\u5f97\u5230\u5176\u5b83\u989c\u8272\uff0c\u901a\u8fc7\u8c03\u6574\u7ea2\u3001\u7eff\u3001\u84dd\u4e09\u79cd\u989c\u8272\u7684\u6570\u503c\u53ef\u4ee5\u6700\u5927\u9650\u5ea6\u7684\u63a7\u5236\u989c\u8272\u3002<\/p>\n<p> CSS \u4e2d\u63d0\u4f9b\u4e86\u4e00\u4e9b\u5c5e\u6027\uff08\u4f8b\u5982 color\u3001background\uff09\u6765\u8bbe\u7f6e HTML \u5143\u7d20\u7684\u989c\u8272\uff08\u4f8b\u5982\u5143\u7d20\u7684\u80cc\u666f\u989c\u8272\u6216\u5b57\u4f53\u989c\u8272\uff09\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e0d\u540c\u5f62\u5f0f\u7684\u503c\u6765\u6307\u5b9a\u989c\u8272\uff0c\u5982\u4e0b\u8868\u6240\u793a\uff1a<\/p>\n<table>\n<tbody>\n<tr>\n<th> \u503c<\/th>\n<th> \u63cf\u8ff0<\/th>\n<th> \u5b9e\u4f8b<\/th>\n<\/tr>\n<tr>\n<td> \u989c\u8272\u540d\u79f0<\/td>\n<td> \u4f7f\u7528\u989c\u8272\u540d\u79f0\u6765\u8bbe\u7f6e\u5177\u4f53\u7684\u989c\u8272\uff0c\u6bd4\u5982 red\u3001blue\u3001brown\u3001lightseagreen \u7b49\uff0c\u989c\u8272\u540d\u79f0\u4e0d\u533a\u5206\u5927\u5c0f\u5199<\/td>\n<td> color: red;<\/td>\n<\/tr>\n<tr>\n<td> \u5341\u516d\u8fdb\u5236\u7801<\/td>\n<td> \u4f7f\u7528\u5341\u516d\u8fdb\u5236\u7801\u4ee5 #RRGGBB \u6216 #RGB\uff08\u6bd4\u5982 #ff0000\uff09\u7684\u5f62\u5f0f\u8bbe\u7f6e\u5177\u4f53\u989c\u8272\uff0c\"#\" \u540e\u8ddf 6 \u4f4d\u6216 3 \u4f4d\u5341\u516d\u8fdb\u5236\u5b57\u7b26\uff080-9, A-F\uff09<\/td>\n<td> color: #f03;<\/td>\n<\/tr>\n<tr>\n<td> RGB<\/td>\n<td> \u901a\u8fc7 rgb() \u51fd\u6570\u5bf9 red\u3001green\u3001blue \u4e09\u539f\u8272\u7684\u5f3a\u5ea6\u8fdb\u884c\u63a7\u5236\uff0c\u4ece\u800c\u5b9e\u73b0\u4e0d\u540c\u7684\u989c\u8272<\/td>\n<td> color: rgb(255,0,51);<\/td>\n<\/tr>\n<tr>\n<td> RGBA<\/td>\n<td> RGBA \u6269\u5c55\u4e86 RGB\uff0c\u5728 RGB&nbsp;\u7684\u57fa\u7840\u4e0a\u589e\u52a0\u4e86 alpha \u901a\u9053\u6765\u8bbe\u7f6e\u989c\u8272\u7684\u900f\u660e\u5ea6\uff0c\u9700\u8981\u4f7f\u7528 rgba() \u51fd\u6570\u5b9e\u73b0<\/td>\n<td> color: rgba(255,0,0,0.1);<\/td>\n<\/tr>\n<tr>\n<td> HSL<\/td>\n<td> \u901a\u8fc7 hsl() \u51fd\u6570\u5bf9\u989c\u8272\u7684\u8272\u8c03\u3001\u9971\u548c\u5ea6\u3001\u4eae\u5ea6\u8fdb\u884c\u8c03\u8282\uff0c\u4ece\u800c\u5b9e\u73b0\u4e0d\u540c\u7684\u989c\u8272<\/td>\n<td> color: hsl(120,100%,25%);<\/td>\n<\/tr>\n<tr>\n<td> HSLA<\/td>\n<td> HSLA \u6269\u5c55\u4e86 HSL\uff0c\u5728 HSL \u7684\u57fa\u7840\u4e0a\u589e\u52a0\u4e86&nbsp;alpha \u901a\u9053\u6765\u8bbe\u7f6e\u989c\u8272\u7684\u900f\u660e\u5ea6\uff0c\u9700\u8981\u4f7f\u7528 hsla() \u51fd\u6570\u5b9e\u73b0<\/td>\n<td> color: hsla(240,100%,50%,0.5);<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2> 1. \u989c\u8272\u540d\u79f0<\/h2>\n<p> \u4f7f\u7528\u989c\u8272\u540d\u79f0\u6765\u8bbe\u7f6e\u989c\u8272\u662f\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u3002CSS \u4e2d\u5b9a\u4e49\u4e86\u4e00\u4e9b\u8868\u793a\u989c\u8272\u7684\u5173\u952e\u5b57\uff0c\u5982\u4e0b\u8868\u4e2d\u6240\u793a\uff0c\u4f7f\u7528\u8fd9\u4e9b\u5173\u952e\u5b57\u53ef\u4ee5\u8f7b\u677e\u7684\u4e3a\u5143\u7d20\u8bbe\u7f6e\u989c\u8272\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<th> \u989c\u8272\u540d<\/th>\n<th> \u989c\u8272<\/th>\n<th> \u989c\u8272\u540d<\/th>\n<th> \u989c\u8272<\/th>\n<\/tr>\n<tr>\n<td> aqua<\/td>\n<td> \u5929\u84dd<\/td>\n<td> black<\/td>\n<td> \u9ed1\u8272<\/td>\n<\/tr>\n<tr>\n<td> blue<\/td>\n<td> \u84dd\u8272<\/td>\n<td> fuchsia<\/td>\n<td> \u54c1\u7ea2<\/td>\n<\/tr>\n<tr>\n<td> gray<\/td>\n<td> \u7070\u8272<\/td>\n<td> green<\/td>\n<td> \u7eff\u8272<\/td>\n<\/tr>\n<tr>\n<td> lime<\/td>\n<td> \u6d45\u7eff<\/td>\n<td> maroon<\/td>\n<td> \u7d2b\u7ea2\u8272<\/td>\n<\/tr>\n<tr>\n<td> navy<\/td>\n<td> \u6df1\u84dd<\/td>\n<td> olive<\/td>\n<td> \u6a44\u6984\u8272<\/td>\n<\/tr>\n<tr>\n<td> orange<\/td>\n<td> \u6a59\u8272<\/td>\n<td> purple<\/td>\n<td> \u7d2b\u8272<\/td>\n<\/tr>\n<tr>\n<td> red<\/td>\n<td> \u7ea2\u8272<\/td>\n<td> silver<\/td>\n<td> \u6d45\u7070\u8272<\/td>\n<\/tr>\n<tr>\n<td> teal<\/td>\n<td> \u84dd\u7eff\u8272<\/td>\n<td> white<\/td>\n<td> \u767d\u8272<\/td>\n<\/tr>\n<tr>\n<td> yellow<\/td>\n<td> \u9ec4\u8272<\/td>\n<td> &nbsp;<\/td>\n<td> &nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> \u9664\u4e86\u4e0a\u8868\u4e2d\u4ecb\u7ecd\u7684 17 \u4e2a\u989c\u8272\u5916\uff0c\u6d4f\u89c8\u5668\u4e2d\u8fd8\u652f\u6301\u5f88\u591a\u7684\u989c\u8272\u540d\u79f0\uff0c\u4f46\u4e0d\u540c\u7684\u6d4f\u89c8\u5668\u4e4b\u95f4\u5bf9\u989c\u8272\u7684\u89e3\u6790\u53ef\u80fd\u5b58\u5728\u5dee\u5f02\uff0c\u4e3a\u4e86\u5b89\u5168\u8d77\u89c1\uff0c\u4e0d\u5efa\u8bae\u60a8\u5728 CSS \u4e2d\u4f7f\u7528\u989c\u8272\u540d\u79f0\u6765\u6307\u5b9a\u989c\u8272\u3002<br \/>\n <\/p>\n<h2> 2. \u5341\u516d\u8fdb\u5236\u7801<\/h2>\n<p> \u5341\u516d\u8fdb\u5236\u7801\u662f\u6307\u901a\u8fc7\u4e00\u4e2a\u4ee5<br \/>\n<code> # <\/code>\u5f00\u5934\u7684 6 \u4f4d\u5341\u516d\u8fdb\u5236\u6570\uff080~9\uff0ca~f\uff09\u8868\u793a\u989c\u8272\u7684\u65b9\u5f0f\uff0c\u8fd9\u4e2a\u516d\u4f4d\u6570\u53ef\u4ee5\u5206\u4e3a\u4e09\u7ec4\uff0c\u6bcf\u7ec4\u4e24\u4f4d\uff0c\u4f9d\u6b21\u8868\u793a red\u3001green\u3001blue \u4e09\u79cd\u989c\u8272\u7684\u5f3a\u5ea6\uff0c\u4f8b\u5982\uff1a<br \/>\n <\/p>\n<pre class=\"css\">\r\nh1 {\r\n    color: #ffa500;\r\n}\r\np {\r\n    color: #00ff00;\r\n}<\/pre>\n<p> \u60a8\u53ef\u4ee5\u4f7f\u7528 PhotoShop\u3001Fireworks \u7b49\u5236\u56fe\u8f6f\u4ef6\u6765\u83b7\u53d6\u989c\u8272\u7684\u5341\u516d\u8fdb\u5236\u7801\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<div style=\"text-align: center\">\n <img decoding=\"async\" alt=\"\u83b7\u53d6\u989c\u8272\u7684\u5341\u516d\u8fdb\u5236\u7801\" src=\"http:\/\/c.biancheng.net\/uploads\/allimg\/210806\/110021F55-0.gif\" class=\"aligncenter\"><br \/>\n <br \/> \u56fe\uff1a\u83b7\u53d6\u989c\u8272\u7684\u5341\u516d\u8fdb\u5236\u7801\n<\/div>\n<p class=\"tip-box\"> \u63d0\u793a\uff1a\u5728\u4f7f\u7528\u5341\u516d\u8fdb\u5236\u7801\u8868\u793a\u989c\u8272\u65f6\uff0c\u5982\u679c\u6bcf\u7ec4\u7684\u4e24\u4e2a\u5341\u516d\u8fdb\u5236\u6570\u662f\u76f8\u540c\u7684\uff0c\u4f8b\u5982 #00ff00\u3001#ffffff\u3001#aabbcc\uff0c\u5219\u53ef\u4ee5\u5c06\u5b83\u4eec\u7b80\u5199\u4e3a #0f0\u3001#fff\u3001#abc\u3002<\/p>\n<h2> 3. RGB<\/h2>\n<p> RGB \u662f red\u3001green\u3001blue \u7684\u7f29\u5199\uff0c\u5b83\u662f\u4e00\u79cd\u8272\u5f69\u6a21\u5f0f\uff0c\u53ef\u4ee5\u901a\u8fc7\u5bf9 red\u3001green\u3001blue \u4e09\u79cd\u989c\u8272\u7684\u63a7\u5236\u6765\u5b9e\u73b0\u5404\u5f0f\u5404\u6837\u7684\u989c\u8272\u3002CSS \u4e2d\u8981\u4f7f\u7528 RGB \u6a21\u5f0f\u6765\u8bbe\u7f6e\u989c\u8272\u9700\u8981\u501f\u52a9 rgb() \u51fd\u6570\uff0c\u51fd\u6570\u7684\u8bed\u6cd5\u683c\u5f0f\u5982\u4e0b\uff1a<br \/>\n <\/p>\n<p class=\"info-box\"> rgb(red, green, blue)<\/p>\n<p> \u5176\u4e2d red\u3001green\u3001blue \u5206\u522b\u8868\u793a\u4e09\u539f\u8272\u7ea2\u3001\u7eff\u3001\u84dd\u7684\u5f3a\u5ea6\uff0c\u8fd9\u4e09\u4e2a\u53c2\u6570\u7684\u53d6\u503c\u53ef\u4ee5\u662f 0~255 \u4e4b\u95f4\u7684\u6574\u6570\uff0c\u4e5f\u53ef\u4ee5\u662f 0%~100% \u4e4b\u95f4\u767e\u5206\u6bd4\u6570\u503c\u3002\u5982\u4e0b\u4f8b\u6240\u793a\uff1a<br \/>\n <\/p>\n<pre class=\"css\">\r\nh1 {\r\n    color: rgb(255, 165, 0);\r\n}\r\np {\r\n    color: rgb(0%, 100%, 0%);\r\n}<\/pre>\n<h2> 4. RGBA<\/h2>\n<p> RGBA \u662f RGB \u7684\u6269\u5c55\uff0c\u5728 RGB \u7684\u57fa\u7840\u4e0a\u53c8\u589e\u52a0\u4e86\u5bf9 Alpha \u901a\u9053\u7684\u63a7\u5236\uff0cAlpha \u901a\u9053\u53ef\u4ee5\u8bbe\u7f6e\u989c\u8272\u7684\u900f\u660e\u5ea6\u3002<\/p>\n<p> \u60a8\u9700\u8981\u501f\u52a9 rgba() \u51fd\u6570\u6765\u4f7f\u7528 RGBA \u6a21\u5f0f\uff0c\u8be5\u51fd\u6570\u9700\u8981\u63a5\u6536\u56db\u4e2a\u53c2\u6570\uff0c\u9664\u4e86 red\u3001green\u3001blue \u4e09\u79cd\u989c\u8272\u7684\u5f3a\u5ea6\u5916\uff0c\u8fd8\u9700\u8981\u4e00\u4e2a 0~1 \u4e4b\u95f4\u7684\u5c0f\u6570\u6765\u8868\u793a\u989c\u8272\u7684\u900f\u660e\u5ea6\uff0c\u5176\u4e2d 0 \u8868\u793a\u5b8c\u5168\u900f\u660e\uff0c1 \u8868\u793a\u5b8c\u5168\u4e0d\u900f\u660e\u3002rgba() \u51fd\u6570\u7684\u8bed\u6cd5\u683c\u5f0f\u5982\u4e0b\uff1a<br \/>\n <\/p>\n<p class=\"info-box\"> rgba(red, green, blue, alpha);<\/p>\n<p> \u5176\u4e2d red\u3001green\u3001blue \u5206\u522b\u8868\u793a\u4e09\u539f\u8272\u7ea2\u3001\u7eff\u3001\u84dd\u7684\u5f3a\u5ea6\uff0calpha \u8868\u793a\u989c\u8272\u7684\u900f\u660e\u5ea6\uff0c\u4f8b\u5982\uff1a<br \/>\n <\/p>\n<pre class=\"css\">\r\nh1 {\r\n    color: rgba(255, 0, 0, 0.5);\r\n}\r\np {\r\n    color: rgba(0, 255, 0, 1);\r\n}<\/pre>\n<h2> 5. HSL<\/h2>\n<p> HSL \u662f Hue\uff08\u8272\u8c03\uff09\u3001Saturation\uff08\u9971\u548c\u5ea6\uff09\u3001Lightness\uff08\u4eae\u5ea6\uff09\u7684\u7f29\u5199\uff0c\u5b83\u540c\u6837\u4e5f\u662f\u4e00\u79cd\u8272\u5f69\u6a21\u5f0f\uff0c\u53ef\u4ee5\u901a\u8fc7\u5bf9\u8272\u8c03\u3001\u9971\u548c\u5ea6\u3001\u4eae\u5ea6\u4e09\u4e2a\u5c5e\u6027\u7684\u8c03\u8282\u6765\u5b9e\u73b0\u4e0d\u540c\u989c\u8272\u7684\u3002CSS \u4e2d\u4f7f\u7528 HSL \u6a21\u5f0f\u9700\u8981\u501f\u52a9 hsl() \u51fd\u6570\uff0c\u51fd\u6570\u7684\u8bed\u6cd5\u683c\u5f0f\u5982\u4e0b\uff1a<br \/>\n <\/p>\n<p class=\"info-box\"> hsl(hue, saturation, lightness)<\/p>\n<p> \u8bed\u6cd5\u8bf4\u660e\u5982\u4e0b\uff1a<br \/>\n <\/p>\n<h4> 1) hue<\/h4>\n<p> \u53c2\u6570 hue \u8868\u793a\u989c\u8272\u5728\u8272\u76d8\u4e0a\u7684\u5ea6\u6570\uff08\u4ece 0 \u5230 360\uff09\uff0c0 \u6216 360 \u8868\u793a\u7ea2\u8272\uff0c120 \u8868\u793a\u7eff\u8272\uff0c240 \u8868\u793a\u84dd\u8272\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1b<\/p>\n<div style=\"text-align: center\">\n <img decoding=\"async\" alt=\"hue\u53c2\u6570\u8bf4\u660e\" src=\"http:\/\/c.biancheng.net\/uploads\/allimg\/210806\/110021E53-1.jpg\" class=\"aligncenter\"><br \/>\n <br \/> \u56fe\uff1ahue\u53c2\u6570\u8bf4\u660e\n<\/div>\n<h4> 2) saturation<\/h4>\n<p> \u53c2\u6570 saturation \u4e3a\u4e00\u4e2a\u767e\u5206\u6bd4\u6570\u503c\uff0c\u8868\u793a\u8272\u5f69\u7684\u9971\u548c\u5ea6\uff0c0% \u8868\u793a\u7070\u8272\uff0c100% \u8868\u793a\u5168\u5f69\u3002<\/p>\n<div style=\"text-align: center\">\n <img decoding=\"async\" alt=\"saturation \u53c2\u6570\u8bf4\u660e\" src=\"http:\/\/c.biancheng.net\/uploads\/allimg\/210806\/110021M00-2.gif\" class=\"aligncenter\"><br \/>\n <br \/> \u56fe\uff1asaturation \u53c2\u6570\u8bf4\u660e\n<\/div>\n<h4> 3) lightness<\/h4>\n<p> \u53c2\u6570 lightness \u540c\u6837\u4e3a\u4e00\u4e2a\u767e\u5206\u6bd4\u6570\u503c\uff0c\u8868\u793a\u989c\u8272\u7684\u4eae\u5ea6\uff0c0% \u662f\u9ed1\u8272\uff08\u6ca1\u6709\u4eae\u5ea6\uff09\uff0c50% \u4e3a\u6700\u5408\u9002\u7684\u4eae\u5ea6\uff08\u65e2\u4e0d\u53d1\u9ed1\u4e5f\u4e0d\u8fc7\u4eae\uff09\uff0c100% \u662f\u767d\u8272\uff08\u66dd\u5149\u4e25\u91cd\uff09\u3002<\/p>\n<div style=\"text-align: center\">\n <img decoding=\"async\" alt=\"lightness \u53c2\u6570\u8bf4\u660e\" src=\"http:\/\/c.biancheng.net\/uploads\/allimg\/210806\/110021F05-3.gif\" class=\"aligncenter\"><br \/>\n <br \/> \u56fe\uff1alightness \u53c2\u6570\u8bf4\u660e\n<\/div>\n<h2> 6. HSLA<\/h2>\n<p> HSLA \u662f HSL \u7684\u6269\u5c55\uff0c\u5728 HSLA \u4e2d\u589e\u52a0\u4e86\u5bf9\u989c\u8272\u900f\u660e\u5ea6\u7684\u63a7\u5236\uff0c\u5176\u4f59\u4e0e HSL \u76f8\u540c\u3002CSS \u4e2d\u4f7f\u7528 HSLA \u6a21\u5f0f\u9700\u8981\u501f\u52a9 hsla() \u51fd\u6570\uff0c\u51fd\u6570\u7684\u8bed\u6cd5\u683c\u5f0f\u5982\u4e0b\uff1a<br \/>\n <\/p>\n<p class=\"info-box\"> hsla(hue, saturation, lightness, alpha)<\/p>\n<p> \u53c2\u6570 alpha \u662f\u4e00\u4e2a&nbsp;0 ~ 1 \u4e4b\u95f4\u5c0f\u6570\uff0c\u7528\u6765\u8868\u793a\u989c\u8272\u7684\u900f\u660e\u5ea6\uff0c0 \u8868\u793a\u5b8c\u5168\u900f\u660e\uff0c\u800c 1 \u8868\u793a\u5b8c\u5168\u4e0d\u900f\u660e\u3002<\/p>\n<p> \u3010\u793a\u4f8b\u3011\u901a\u8fc7\u4e0d\u540c\u7684\u65b9\u5f0f\u6765\u4e3a HTML \u5143\u7d20\u8bbe\u7f6e\u989c\u8272\uff1a<br \/>\n <\/p>\n<pre class=\"html\">\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n    &lt;title&gt;CSS\u989c\u8272&lt;\/title&gt;\r\n    &lt;style&gt;\r\n    p {\r\n        font-size: 16px;\r\n        font-weight: bold;\r\n    }\r\n    #rgb {\r\n        color: rgb(255, 0, 0);\r\n    }\r\n\r\n    #rgba {\r\n        color: rgba(255, 0, 0, 0.5);\r\n    }\r\n\r\n    #hex {\r\n        color: #EE82EE;\r\n    }\r\n\r\n    #short {\r\n        color: #E8E;\r\n    }\r\n\r\n    #hsl {\r\n        color: hsl(0, 50%, 50%);\r\n    }\r\n\r\n    #hsla {\r\n        color: hsla(0, 50%, 50%, 0.5);\r\n    }\r\n\r\n    #built {\r\n        color: green;\r\n    }\r\n    &lt;\/style&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n    &lt;p id=\"rgb\"&gt;\r\n        color: rgb(255, 0, 0);\r\n    &lt;\/p&gt;\r\n    &lt;p id=\"rgba\"&gt;\r\n        color: rgba(255, 0, 0, 0.5);\r\n    &lt;\/p&gt;\r\n    &lt;p id=\"hex\"&gt;\r\n        color: #EE82EE;\r\n    &lt;\/p&gt;\r\n    &lt;p id=\"short\"&gt;\r\n        color: #E8E;\r\n    &lt;\/p&gt;\r\n    &lt;p id=\"hsl\"&gt;\r\n        color: hsl(0, 50%, 50%);\r\n    &lt;\/p&gt;\r\n    &lt;p id=\"hsla\"&gt;\r\n        color: hsla(0, 50%, 50%, 0.5);\r\n    &lt;\/p&gt;\r\n    &lt;p id=\"built\"&gt;\r\n        color: green;\r\n    &lt;\/p&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p> \u8fd0\u884c\u7ed3\u679c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<div style=\"text-align: center\">\n <img decoding=\"async\" alt=\"\" src=\"http:\/\/c.biancheng.net\/uploads\/allimg\/210806\/1100211U5-4.gif\" class=\"aligncenter\"><br \/>\n <br \/> \u56fe\uff1aCSS \u4e2d\u989c\u8272\u7684\u8bbe\u7f6e\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u4eec\u5728\u663e\u793a\u5c4f\u4e0a\u770b\u5230\u7684\u5404\u79cd\u989c\u8272\u90fd\u662f\u901a\u8fc7\u7ea2\uff08red\uff09\u3001\u7eff\uff08green\uff09\u3001\u84dd\uff08blue\uff09\u4e09\u539f\u8272\u7ec4\u5408\u800c\u6210\u7684\uff0c\u6309\u4e0d\u540c\u7684\u6bd4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[],"class_list":["post-10422","post","type-post","status-publish","format-standard","hentry","category-website"],"_links":{"self":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/10422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/comments?post=10422"}],"version-history":[{"count":0,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/10422\/revisions"}],"wp:attachment":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media?parent=10422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/categories?post=10422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/tags?post=10422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}