{"id":3458,"date":"2013-07-05T16:12:46","date_gmt":"2013-07-05T08:12:46","guid":{"rendered":"http:\/\/www.zhangxinxu.com\/wordpress\/?p=3458"},"modified":"2021-02-16T21:56:47","modified_gmt":"2021-02-16T13:56:47","slug":"first-line%e4%bc%aa%e7%b1%bb-%e5%85%bc%e5%ae%b9-ie6-ie7-%e5%a4%9a%e8%83%8c%e6%99%af-multiple-backgrounds","status":"publish","type":"post","link":"https:\/\/www.zhangxinxu.com\/wordpress\/2013\/07\/first-line%e4%bc%aa%e7%b1%bb-%e5%85%bc%e5%ae%b9-ie6-ie7-%e5%a4%9a%e8%83%8c%e6%99%af-multiple-backgrounds\/","title":{"rendered":"first-line\u4f2a\u7c7b\u5b9e\u73b0\u517c\u5bb9IE6\/IE7\u7684\u5355\u6807\u7b7e\u591a\u80cc\u666f\u6548\u679c"},"content":{"rendered":"<p>by <a href=\"http:\/\/www.zhangxinxu.com\/\">zhangxinxu<\/a> from <a href=\"http:\/\/www.zhangxinxu.com\/\">http:\/\/www.zhangxinxu.com<\/a><br \/>\n\u672c\u6587\u5730\u5740\uff1a<a href=\"http:\/\/www.zhangxinxu.com\/wordpress\/?p=3458\">http:\/\/www.zhangxinxu.com\/wordpress\/?p=3458<\/a><\/p>\n<h3>\u4e00\u3001\u5148\u6765\u56de\u987e\u4e0b<\/h3>\n<p>\u65f6\u95f4\u8fc7\u5f97\u771f\u7684\u662f\u76f8\u5f53\u5f97\u5feb\uff0c\u603b\u89c9\u5f97\u662f\u4e0d\u4e45\u4e4b\u524d\u5199\u7684\u5185\u5bb9\uff0c\u4e00\u7ffb\u9605\uff0c\u201c\u5475\u5475\u201d\uff0c\u5df2\u7ecf2\u5e74\u591a\u4e86\u3002<\/p>\n<p>2\u5e74\u524d\u76845\u6708\u4efd\uff0c\u8457\u6709\u201c<a href=\"http:\/\/www.zhangxinxu.com\/wordpress\/?p=1643\">IE\u4e0d\u652f\u6301CSS3\u591a\u80cc\u666f\u7684\u66ff\u4ee3\u89e3\u51b3<\/a>\u201d\u4e00\u6587\uff0c\u8bb2\u7684\u662f\u5982\u4f55\u4f7f\u7528\u5355\u72ec\u4e00\u4e2a\u6807\u7b7e\u5b9a\u4f4d2\u5f20\u80cc\u666f\u56fe\u7247\uff0c\u5b9e\u73b0\u5bbd\u5ea6\u81ea\u9002\u5e94\u6309\u94ae\u6548\u679c\uff0c\u517c\u5bb9IE6+\u4ee5\u53ca\u5176\u4ed6\u6d4f\u89c8\u5668\u3002<\/p>\n<p>\u539f\u7406\u662f<code>background<\/code>+<code>filter<\/code>\u6ee4\u955c\uff0c\u7c7b\u4f3c\u4e0b\u9762\u4ee3\u7801\uff1a<\/p>\n<div class=\"zxx_code\">\n<pre>#multi-bg {\r\n    background: url(images\/bg-image-1.gif) no-repeat;\r\n    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='images\/bg-image-2.gif', sizingMethod='crop'); <span style=\"color:green;\">\/* IE6-8 *\/<\/span><\/span>\r\n}<\/pre>\n<\/div>\n<p><strong>\u4e0efirst-line\u7684\u56e0\u7f18<\/strong><br \/>\n\u591a\u6b21\u6709\u4eba\u95ee\u8fc7\u6211\u5982\u4f55\u4f7f\u7528CSS\u5b9e\u73b0\u591a\u884c\u6587\u5b57\u6ea2\u51fa\u7684\u70b9\u70b9\u70b9\u663e\u793a\uff0c\u6700\u8fd1\u5c31\u505a\u4e86\u5f88\u591a\u5c1d\u8bd5\uff0c\u4e8e\u662f\uff0c\u6709\u5e78\u63a5\u89e6\u5230\u4e86<code>first-line<\/code>\u4f2a\u7c7b\u3002\u4e00\u770b\u6d4f\u89c8\u5668\u7684\u517c\u5bb9\u6027\uff0c\u54df\uff0c\u4e0d\u9519\uff0cIE5.5+\u5c31\u5f00\u59cb\u652f\u6301\u4e86\u3002<\/p>\n<p><code>first-line<\/code>\u53ef\u4ee5\u8ba9block\u6c34\u5e73\u5143\u7d20\u7684\u7b2c\u4e00\u884c\u6587\u672c\u5e94\u7528\u4e00\u4e9b\u6587\u5b57\u76f8\u5173\u7684\u6837\u5f0f\u4ee5\u53ca\u80cc\u666f\u7b49\u3002\u4e8e\u662f\uff0c\u81ea\u5df1\u7a81\u7136\u6709\u4e86\u60f3\u6cd5\uff1a\u4f2a\u5143\u7d20\u53ef\u4ee5\u8bbe\u7f6e\u80cc\u666f\uff0c\u5143\u7d20\u672c\u8eab\u53ef\u4ee5\u8bbe\u7f6e\u80cc\u666f\uff0c\u90a3\u5c82\u4e0d\u662f\u5c31\u662f\u591a\u80cc\u666f\u6548\u679c\u7684\u5b9e\u73b0\uff1f\u5c82\u4e0d\u662f\u53ef\u4ee5\u5b9e\u73b0\u6309\u94ae\u5bbd\u5ea6\u81ea\u9002\u5e94\u6548\u679c\uff1f<\/p>\n<p>\u5f88\u591a\u795e\u5947\u3001\u5f88\u591a\u65e0\u5948\u3001\u5f88\u591a\u5de7\u5408\uff0c\u8fd8\u771f\u7684\u53ef\u4ee5\u5b9e\u73b0\uff0cIE6+\u517c\u5bb9\uff0c\u672c\u6587\u5c31\u5c06\u4ecb\u7ecd\u76f8\u5173\u5185\u5bb9\u3002<\/p>\n<p>\u76f8\u5173tip\u5f88\u591a\uff0c\u5927\u5bb6\u8981\u591a\u591a\u7559\u795e\uff0c\u4e0d\u8981\u6709\u6240\u9057\u6f0f\u3002<\/p>\n<h3>\u4e8c\u3001first-line\u4f2a\u7c7b\u57fa\u7840\u77e5\u8bc6<\/h3>\n<p>\u5c31\u76ee\u524d\u800c\u8a00\uff0cfirst-line\u4f2a\u7c7b\u7684\u8bf4\u6cd5\u5176\u5b9e\u5e94\u8be5\u66f4\u6b63\u6210\u4f2a\u5143\u7d20\uff0c\u4e5f\u5c31\u662f\u4ece<code>:first-line<\/code>\u5230<code>::first-line<\/code>\u7684\u53d8\u5316\u3002\u4e0d\u8fc7\uff0c\u672c\u6587\u4e2d\uff0c\u5982\u679c\u662fIE6\/IE7\u4e2d\u7684<code>first-line<\/code>, \u8fd8\u662f\u4f7f\u7528\u201c\u4f2a\u7c7b\u201d\u7684\u79f0\u547c\uff0c\u5176\u4ed6\u6d4f\u89c8\u5668\u201c\u4f2a\u5143\u7d20\u201d\u3002<\/p>\n<p>\u987e\u540d\u601d\u610f\uff0c<code>first-line<\/code>\u8868\u793a\u7b2c\u4e00\u884c\uff0c\u5176\u4e0e<code>first-letter<\/code>\u5b9e\u5219\u8868\u5144\u5f1f\u5173\u7cfb\uff0c\u90fd\u662f<code>\u9488\u5bf9\u6587\u5b57<\/code>\u7684\u3002\u6ce8\u610f\u8fd9\u91cc\uff0c\u201c\u9488\u5bf9\u6587\u5b57\u201d\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c<code>first-line<\/code>\u662f\u65e0\u6cd5\u5339\u914d\u4efb\u4f55\u771f\u5b9e\u7684HTML\u5143\u7d20\u7684\uff01<\/p>\n<p>\u5bf9\u4e8einline\u6c34\u5e73\u7684\u5143\u7d20\uff0c\u5176\u672c\u8eab\u5c31\u662fline box, \u5c31\u662f\u4e00\u884c\u6d41\uff0c\u56e0\u6b64\uff0c\u4e0d\u5b58\u5728\u6240\u8c13\u7684<code>first-line<\/code>\u7684\u8bf4\u6cd5\u3002\u56e0\u6b64\uff0c<code>first-line<\/code>\u4f2a\u7c7b\/\u4f2a\u5143\u7d20\u8981\u60f3\u8d77\u4f5c\u7528\uff0c\u5fc5\u987b\u5e94\u7528\u5728block\u6c34\u5e73\u7684\u5143\u7d20\u4e0a\uff0c\u4f8b\u5982<code>display<\/code>\u4e3a\u5982\u4e0b\u503c\u7684\u4e9b\u5143\u7d20<code>block<\/code>, <code>inline-block<\/code>, <code>table-cell<\/code>\u6216<code>table-caption<\/code>.<\/p>\n<p>\u518d\u7531\u4e8e<code>first-line<\/code>\u4f2a\u7c7b\/\u4f2a\u5143\u7d20\u662f\u5904\u7406\u6587\u5b57\u5b57\u7b26\u7684\uff0c\u56e0\u6b64\uff0c\u53ea\u6709\u90e8\u5206\u7684CSS\u58f0\u660e\u53ef\u4ee5\u4f7f\u7528\uff0c\u7c7b\u4f3c<code>float<\/code>\uff0c<code>position:absolute<\/code>\u8fd9\u4e9b\u7834\u574f\u6027\u5c5e\u6027\u663e\u7136\u662f\u4e0d\u652f\u6301\u7684\u3002\u90a3\u90fd\u652f\u6301\u90a3\u4e9b\u5c5e\u6027\u5462\uff1f<\/p>\n<ul>\n<li>\u6240\u6709\u6587\u5b57\u76f8\u5173\u5c5e\u6027\uff1a<code>font<\/code>, <code>font-style<\/code>, <code>font-variant<\/code>, <code>font-weight<\/code>, <code>font-size<\/code>, \u4ee5\u53ca<code>font-family<\/code>.<\/li>\n<li><code>color<\/code>\u5c5e\u6027\u3002<\/li>\n<li>\u6240\u6709\u80cc\u666f\u76f8\u5173\u5c5e\u6027\uff1a<code>background-color<\/code>, <code>background-image<\/code>, <code>background-position<\/code>, <code>background-repeat<\/code>, <code>background-size<\/code>, \u4ee5\u53ca<code>background-attachment<\/code>.<\/li>\n<li><code>word-spacing<\/code>, <code>letter-spacing<\/code>, <code>text-decoration<\/code>, <code>text-transform<\/code>, \u548c<code>line-height<\/code>.<\/li>\n<\/ul>\n<p><strong>\u57fa\u672c\u793a\u4f8b\u3001\u5e38\u89c4\u4f7f\u7528<\/strong><br \/>\n\u5982\u4e0b<code>&lt;blockquote&gt;<\/code>\u6807\u7b7e\u5f15\u7528\u4e00\u6bb5\u6587\u5b57\uff0c\u6211\u4eec\u73b0\u5728\u5e0c\u671b\u9996\u884c\u6587\u5b57\u989c\u8272\u9ed1\u9ed1\u7684<span class=\"hidden\">\uff08\u82e5\u65e0\u6548\u679c\uff0c\u8bbf\u95ee<a href=\"http:\/\/www.zhangxinxu.com\/wordpress\/?p=3458\">\u539f\u51fa\u5904<\/a>\uff09<span>\uff0c\u5176\u4ed6\u6587\u5b57\uff08\u9664\u94fe\u63a5\uff09\u7070\u7070\u7684\uff1a<\/p>\n<style>blockquote:first-line, blockquote p:first-line { color: black; }.buggy{color:#f30;}.partial{color:#fa5;}.full{color:green;}<\/style>\n<div class=\"zxx_code\">\n<pre>blockquote:first-line { color: black; }<\/pre>\n<\/div>\n<blockquote><p>\u817e\u8baf\u5c06\u57287\u67083\u65e5\u53ec\u5f00\u201c2013\u5e74\u817e\u8baf\u5408\u4f5c\u4f19\u4f34\u5927\u4f1a\u201d\uff0c\u5230\u65f6\u817e\u8baf\u4f1a\u516c\u5e03\u79fb\u52a8\u5f00\u653e\u7b56\u7565\uff0c\u5305\u62ec\u5fae\u4fe1\u7684\u5f00\u653e\u89c4\u5219\u548cQQ\u7684\u79fb\u52a8\u5f00\u653e\u6218\u7565\uff0c\u60f3\u8981\u5b9e\u73b0\u624b\u673aQQ\u548cQQ\u7a7a\u95f4\u7684\u5e94\u7528\u4e2d\u5fc3\u4e00\u4f53\u5316\u3002\u9996\u5148\u662f\u5f15\u5165\u8868\u60c5\u5e94\u7528\u4e2d\u5fc3\uff0c\u9664\u624b\u673aQQ\u5916\uff0c\u5fae\u4fe1\u4e5f\u5c06\u5728\u968f\u540e\u7684\u7248\u672c\u4e2d\u5f15\u5165\u8868\u60c5\u4e2d\u5fc3\u3002\u65b0\u7248\u624b\u673aQQ\u5c06\u5148\u4e8e\u5fae\u4fe1\u63a8\u51fa\u79fb\u52a8\u652f\u4ed8\uff01\u624b\u673aQQ\u8fce\u6765\u91cd\u5927\u66f4\u65b0\u54e6\u3002<\/p>\n<p><a href=\"http:\/\/weibo.com\/askmarket\">@\u77e5\u6258\u4ed8-\u9882\u8d5e<\/a> \u5982\u4eca\u7684\u4f01\u9e45\u519b\u56e2\u4e0d\u518d\u662f\u90a3\u53ea\u4ec5\u4f1a\u6284\u88ad\u7684\u4f01\u9e45\u4e86\uff01\u901a\u8fc7\u8fd9\u6b21\u7684QQ\u5408\u4f5c\u4f19\u4f34\u5927\u4f1a\uff0c\u6211\u89c9\u5f97\u9a6c\u5316\u817e\u53ef\u80fd\u4f1a\u79d2\u6740\u8bb8\u591a\u4e92\u8054\u7f51\u516c\u53f8\u7684\u4e1a\u52a1\uff0c\u8fd9\u4e9b\u88ab\u79d2\u6740\u7684\u516c\u53f8\u4e0d\u4e4f\u4f1a\u6709\u767e\u5ea6\u3001\u963f\u91cc\u3001\u65b0\u6d6a\u3001\u7f51\u6613\u7b49\u3002<\/p><\/blockquote>\n<p><strong>\u6f5c\u529b<\/strong><br \/>\nNBA\u706b\u7bad\u961f\u7684\u4f20\u5947\u6559\u7ec3\u2014\u2014\u9c81\u8fea\u00b7\u6c64\u59c6\u8d3e\u8bfa\u7ef4\u5947\u8bf4\u8fc7\u8fd9\u4e48\u4e00\u53e5\u5e7f\u4e3a\u6d41\u4f20\u7684\u8bdd\uff1a\u201c\u6c38\u8fdc\u4e0d\u8981\u4f4e\u4f30\u4e00\u4e2a\u603b\u51a0\u519b\u7684\u5fc3\u201d\u3002\u6bcf\u4e2aCSS\u5c5e\u6027\u6765\u5230\u8fd9\u4e2a\u4e16\u754c\u4e0a\u90fd\u662f\u5e0c\u671b\u6210\u4e3aweb\u7684\u57fa\u77f3\uff0c\u5373\u4f7f\u53ef\u80fd\u770b\u4e0a\u53bb\uff0c\u4ed6\u662f\u4e2a\u83dc\u9e1f\uff0c\u4ed6\u6ca1\u6709\u4ef7\u503c\uff0c\u5168\u5b87\u5b99\u5e9f\u67f4\u5148\u8fdb\u4ee3\u8868\uff0c\u4f60\u4e5f\u4e0d\u80fd\u5ffd\u7565\u5176\u5728web\u4e0a\u90a3\u9897\u9ad8\u5c4b\u5efa\u74f4\u7684\u5fc3\u3002<\/p>\n<p>\u4ece\u5b9e\u9645\u89d2\u5ea6\u8bb2\uff0c\u5c24\u5176\u5bf9\u4e8e\u4e2d\u6587\u7f51\u7ad9\u800c\u8a00\uff0c<code>:first-line<\/code>\u4f2a\u7c7b\/\u4f2a\u5143\u7d20\u4f3c\u4e4e\u5728\u5e9f\u67f4\u4e4b\u8def\u8d70\u5f97\u66f4\u52a0\u6df1\u8fdc\uff0c\u5e03\u5c40\u81ea\u7136\u5e9f\u5230\u6389\u6e23\uff0c\u8fde\u6587\u672c\u663e\u793a\u4e5f\u6389\u4ef7\u4e86\uff08\u4f8b\u5982\u6ca1\u6709\u6240\u8c13\u5927\u5c0f\u5199\u63a7\u5236\uff09\u3002\u56e0\u6b64\uff0c\u5728\u81ea\u5df1\u8fd9\u4e9b\u5e74\u7684CSS\u63a5\u89e6\u4e2d\uff0c<code>:first-line<\/code>\u5c31\u50cf\u534a\u5c9b\u94c1\u76d2\u4e00\u6837\uff0c\u88ab\u9057\u5f03\u5728\u9601\u697c\u7684\u89d2\u843d\uff0c\u5c18\u5c01\u5df2\u4e45\uff0c\u591a\u5e74\u672a\u89c1\u3002<\/p>\n<p>\u4f46\u662f\uff0c\u663e\u7136\uff0c\u5f88\u591aCSS\u5c5e\u6027\u88ab\u6211\u4eec\u4e60\u60ef\u6027\u4f4e\u4f30\u4e86\uff0c<code>:first-line<\/code>\u5c31\u662f\u5176\u4e2d\u4e4b\u4e00\u3002\u8fd1\u65e5\u7684\u4e00\u4e9b\u6f5c\u529b\u6316\u6398\u8ba9\u6211\u53d1\u73b0\uff0c\u672c\u5e94\u4e3a\u6587\u5b57UI\u63a7\u5236\u800c\u751f\u7684<code>:first-line<\/code>\u4f2a\u7c7b\/\u4f2a\u5143\u7d20\u53ef\u4ee5\u7528\u6765\u5e03\u5c40\uff1b\u5c31\u597d\u50cf\uff0c\u7af9\u5b50\u4e0d\u4ec5\u53ef\u4ee5\u7528\u6765\u505a\u9493\u9c7c\u7aff\uff0c\u8fd8\u53ef\u4ee5\u5f53\u94a2\u7b4b\u4f7f\uff0c\u5efa\u623f\u5efa\u697c\uff01<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201307\/gangjing-zhuzi.jpg\" width=\"440\" height=\"330\" alt=\"\u6df7\u51dd\u571f\u67f1\u5b50 \u7af9\u5b50\u5f53\u94a2\u7b4b\" class=\"alignnone\" \/><\/p>\n<h3>\u4e09\u3001\u6210\u4e5fbug, \u8d25\u4e5fbug<\/h3>\n<p><strong>\u517c\u5bb9\u6027<\/strong><br \/>\n\u6982\u51b5\u8868(from mozilla)\uff1a<\/p>\n<table cellpadding=\"0\" cellspacing=\"1\" class=\"params_table\" width=\"100%\">\n<tbody>\n<tr>\n<th>Feature<\/th>\n<th>Chrome<\/th>\n<th>Firefox (Gecko)<\/th>\n<th>Internet Explorer<\/th>\n<th>Opera<\/th>\n<th>Safari (WebKit)<\/th>\n<\/tr>\n<tr>\n<td>\u57fa\u672c\u652f\u6301<\/td>\n<td>1.0<\/td>\n<td>1.0 (1.7\u6216\u66f4\u65e9)<\/td>\n<td>9.0<\/td>\n<td>7.0<\/td>\n<td>1.0 (85)<\/td>\n<\/tr>\n<tr>\n<td>\u8001\u7684\u5355\u5192\u53f7\u5f62\u5f0f(<code>:first-line<\/code>)<\/td>\n<td>1.0<\/td>\n<td>1.0 (1.7\u6216\u66f4\u65e9)<\/td>\n<td>5.5<\/td>\n<td>3.5<\/td>\n<td>1.0 (85)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8be6\u7ec6\u8868(from sitePoint)\uff1a<\/p>\n<table cellspacing=\"1\" cellpadding=\"0\" summary=\"\u8868\u683c\u4e09\u680f, \u6bcf\u4e2a\u663e\u793a\u4e3b\u8981\u6d4f\u89c8\u5668, \u6d4f\u89c8\u5668\u4f7f\u7528\u7684\u7248\u672c, \u4ee5\u53ca\u6bcf\u4e2a\u7248\u672c\u5bf9\u5e94\u7684\u5c5e\u6027\u652f\u6301\" class=\"params_table\">\n<thead>\n<tr class=\"majorversions\">\n<th colspan=\"4\" id=\"full-ie\">Internet Explorer<\/th>\n<th colspan=\"5\" id=\"full-ff\">Firefox<\/th>\n<th colspan=\"4\" id=\"full-sa\">Safari<\/th>\n<th colspan=\"3\" id=\"full-op\">Opera<\/th>\n<th colspan=\"1\" id=\"full-ch\">Chrome<\/th>\n<\/tr>\n<tr class=\"minorversions\">\n<th headers=\"full-ie\" id=\"full-ie5.5\"><abbr title=\"Internet Explorer 5.5\">5.5<\/abbr><\/th>\n<th headers=\"full-ie\" id=\"full-ie6.0\"><abbr title=\"Internet Explorer 6.0\">6.0<\/abbr><\/th>\n<th headers=\"full-ie\" id=\"full-ie7.0\"><abbr title=\"Internet Explorer 7.0\">7.0<\/abbr><\/th>\n<th headers=\"full-ie\" id=\"full-ie8.0\"><abbr title=\"Internet Explorer 8.0\">8.0<\/abbr><\/th>\n<th headers=\"full-ff\" id=\"full-ff1.0\"><abbr title=\"Firefox 1.0\">1.0<\/abbr><\/th>\n<th headers=\"full-ff\" id=\"full-ff1.5\"><abbr title=\"Firefox 1.5\">1.5<\/abbr><\/th>\n<th headers=\"full-ff\" id=\"full-ff2.0\"><abbr title=\"Firefox 2.0\">2.0<\/abbr><\/th>\n<th headers=\"full-ff\" id=\"full-ff3.0\"><abbr title=\"Firefox 3.0\">3.0<\/abbr><\/th>\n<th headers=\"full-ff\" id=\"full-ff3.5\"><abbr title=\"Firefox 3.5\">3.5<\/abbr><\/th>\n<th headers=\"full-sa\" id=\"full-sa1.3\"><abbr title=\"Safari 1.3\">1.3<\/abbr><\/th>\n<th headers=\"full-sa\" id=\"full-sa2.0\"><abbr title=\"Safari 2.0\">2.0<\/abbr><\/th>\n<th headers=\"full-sa\" id=\"full-sa3.1\"><abbr title=\"Safari 3.1\">3.1<\/abbr><\/th>\n<th headers=\"full-sa\" id=\"full-sa4.0\"><abbr title=\"Safari 4.0\">4.0<\/abbr><\/th>\n<th headers=\"full-op\" id=\"full-op9.2\"><abbr title=\"Opera 9.2\">9.2<\/abbr><\/th>\n<th headers=\"full-op\" id=\"full-op9.5\"><abbr title=\"Opera 9.5\">9.5<\/abbr><\/th>\n<th headers=\"full-op\" id=\"full-op10.0\"><abbr title=\"Opera 10.0\">10.0<\/abbr><\/th>\n<th headers=\"full-ch\" id=\"full-ch2.0\"><abbr title=\"Chrome 2.0\">2.0<\/abbr><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td headers=\"full-ie full-ie5.5\" class=\"buggy\">Buggy<\/td>\n<td headers=\"full-ie full-ie6.0\" class=\"buggy\">Buggy<\/td>\n<td headers=\"full-ie full-ie7.0\" class=\"buggy\">Buggy<\/td>\n<td headers=\"full-ie full-ie8.0\" class=\"full\">Full<\/td>\n<td headers=\"full-ff full-ff1.0\" class=\"partial\">Partial<\/td>\n<td headers=\"full-ff full-ff1.5\" class=\"partial\">Partial<\/td>\n<td headers=\"full-ff full-ff2.0\" class=\"partial\">Partial<\/td>\n<td headers=\"full-ff full-ff3.0\" class=\"partial\">Partial<\/td>\n<td headers=\"full-ff full-ff3.5\" class=\"partial\">Partial<\/td>\n<td headers=\"full-sa full-sa1.3\" class=\"full\">Full<\/td>\n<td headers=\"full-sa full-sa2.0\" class=\"full\">Full<\/td>\n<td headers=\"full-sa full-sa3.1\" class=\"full\">Full<\/td>\n<td headers=\"full-sa full-sa4.0\" class=\"full\">Full<\/td>\n<td headers=\"full-op full-op9.2\" class=\"partial\">Partial<\/td>\n<td headers=\"full-op full-op9.5\" class=\"partial\">Partial<\/td>\n<td headers=\"full-op full-op10.0\" class=\"partial\">Partial<\/td>\n<td headers=\"full-ch full-ch2.0\" class=\"full\">Full<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4ece\u4e0a\u8868\u53ef\u4ee5\u770b\u51fa\uff0cIE6\/IE7 bug\u4e1b\u751f\u3002\u54df\uff0c\u5230\u5e95\u662f\u9aa1\u5b50bug\u5462\u8fd8\u662f\u9a6cbug\uff0c\u51fa\u6765\u6e9c\u6e9c\uff1a<\/p>\n<ol>\n<li><strong>\u7a7a\u767d\u6587\u5b57\u8282\u70b9bug<\/strong><img decoding=\"async\" src=\"http:\/\/mat1.gtimg.com\/www\/mb\/images\/face\/25.gif\" align=\"absmiddle\"><br \/>\n\u5f53<code>block<\/code>\u6c34\u5e73\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u5b50\u5143\u7d20\u4e5f\u662f<code>block<\/code>\u6c34\u5e73\u7684\u65f6\u5019\uff0c\u5982\u679c\u8fd9\u4e2a\u5b50\u5143\u7d20\u524d\u9762\u6709\u7a7a\u683c\u6216\u6362\u884c\uff0c\u7c7b\u4f3c\uff1a<img decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201307\/2013-07-05_095924.png\" align=\"absmiddle\"> \u5219\u5728IE6\/IE7\u6d4f\u89c8\u5668\u4e0b\uff0c\u8fd9\u4e2a\u7a7a\u767d\u8282\u70b9\u4f1a\u88ab<code>first-line<\/code>\u6293\u4f4f\u3002\u7531\u4e8e\u8282\u70b9\u7a7a\u767d\uff0c\u56e0\u6b64\uff0c\u53ea\u6709<code>background<\/code>\u5c5e\u6027\u53c8\u4f5c\u7528\uff0c\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u80cc\u666f\u9ad8\u5ea6=\u7236\u5bb9\u5668<code>paddingTop<\/code>\u503c+\u7b2c\u4e00\u5b50\u5143\u7d20<code>marginTop<\/code>\u503c+\u7b2c\u4e00\u5b50\u5143\u7d20<code>lineHeight<\/code>\u9ad8\u5ea6\uff0c\u5f88\u795e\u5947\uff01<br \/>\n\u4f8b\u5982\u4e0b\u9762\u7684\u4ee3\u7801\uff1a<\/p>\n<div class=\"zxx_code\">\n<pre>.bg { border: 1px solid #aaa; }\r\n.bg:first-line { background: #eee; color: red; }<\/pre>\n<\/div>\n<\/li>\n<div class=\"zxx_code\">\n<pre>&lt;div class=\"bg\">\r\n    &lt;p>\u7b2c\u4e00\u884c\uff1f&lt;\/p>\r\n    &lt;p>\u7b2c2\u884c\uff1f&lt;\/p>\r\n&lt;\/div><\/pre>\n<\/div>\n<p>\u7ed3\u679c\uff0cIE7\u6d4f\u89c8\u5668\u4e0b\u8fd9\u5e45\u6a21\u6837\u2014\u2014\u6709\u80cc\u666f\u8272\u6587\u5b57\u65e0\u7ea2\u8272\u2014\u2014\u5b9e\u5219\u7a7a\u767d\u6587\u5b57\u8282\u70b9\u6e32\u67d3\u800c\u975e\u7b2c\u4e00\u5b50\u5143\u7d20\uff1a<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201307\/2013-07-05_100739.png\" width=\"306\" height=\"116\" alt=\"IE6\/IE7\u6587\u5b57\u8282\u70b9\u4f5c\u7528\uff0c\u975e\u5b50\u5143\u7d20\" class=\"alignnone\" \/><\/p>\n<li><strong>line box \u2192 block\u5316bug<\/strong><img decoding=\"async\" src=\"http:\/\/mat1.gtimg.com\/www\/mb\/images\/face\/2.gif\" align=\"absmiddle\"><br \/>\n\u89c1\u5982\u4e0bCSS\u4ee5\u53caHTML\u4ee3\u7801\uff1a<\/p>\n<div class=\"zxx_code\">\n<pre>.bg { border: 1px solid #aaa; padding: 5px; }\r\n.bg:first-line { background: #eee; color: red; }<\/pre>\n<\/div>\n<\/li>\n<div class=\"zxx_code\">\n<pre>&lt;div class=\"bg\">\r\n    \u7b2c\u4e00\u884c\uff1f\r\n&lt;\/div><\/pre>\n<\/div>\n<p>\u6309\u7167\u6211\u4eec\u6b63\u5e38\u7684\u7406\u89e3\uff0c<code>first-line<\/code>\u597d\u7684\u662f\u6587\u5b57\u8fd9\u53e3\uff0c\u56e0\u6b64\uff0c\u80cc\u666f\u8272\u5e94\u8be5\u662f\u6587\u5b57\u7684<code>content area<\/code>\u533a\u57df\uff0c\u5e94\u8be5\u7c7b\u4f3c\u4e0b\u9762\u7684\u6548\u679c\uff1a<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201307\/2013-07-05_145138.png\" width=\"312\" height=\"60\" alt=\"\u6b63\u5e38\u7684first-line\u6548\u679c \u5f20\u946b\u65ed-\u946b\u7a7a\u95f4-\u946b\u751f\u6d3b\" class=\"alignnone\" \/><\/p>\n<p>\u4f46\u662f\uff0c\u5728IE6\/IE7\u4e0b\u5374\u662f\u8fd9\u4e2a\u6837\u5b50\u7684\uff1a<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201307\/2013-07-05_145404.png\" width=\"351\" height=\"76\" alt=\"IE6\/IE7 block\u5316\u7684\u586b\u5145\" class=\"alignnone\" \/><\/p>\n<p>\u6211\u52d2\u4e2a\u53bb\uff0c\u6574\u4e2a\u533a\u57df\u80cc\u666f\u586b\u5145\u554a\uff0c\u771f\u662f\u4e2a\u8ba9\u4eba\u975e\u5e38\u559c\u7231\u7684bug\u554a\uff0c\u6ce8\u610f\u5230\u672c\u680f\u90a3\u4e2a\u8272\u8272\u7684\u8868\u60c5\u6ca1\uff01\u6211\u4eec\u5982\u679c\u628a\u8fd9\u91cc\u7684\u80cc\u666f\u8272\u6362\u6210\u80cc\u666f\u56fe\u7247\uff0c\u662f\u4e0d\u662f\u5c31\u53ef\u4ee5\u5b9e\u73b0\u591a\u80cc\u666f\u6548\u679c\u5566\uff01\uff01<\/p>\n<div class=\"zxx_code\">\n<pre>#multi-bg {\r\n    background: url(images\/bg-image-1.gif);\r\n}\r\n#multi-bg:first-line {\r\n    background: url(images\/bg-image-2.gif);\r\n}<\/pre>\n<\/div>\n<\/li>\n<li><strong>haslayout bug<\/strong><img decoding=\"async\" src=\"http:\/\/mat1.gtimg.com\/www\/mb\/images\/face\/18.gif\" align=\"absmiddle\"><br \/>\n\u5982\u679c\u8bf4\u4e0a\u4e00\u4e2abug\u662f\u5c0f\u963f\u6597\u53d8\u6218\u795e\uff0c\u90a3\u4e48\u8fd9\u4e2abug\u5c31\u662f\u539f\u6765\u963f\u6597\u5728\u505a\u68a6\uff0155555~~<\/p>\n<p>\u5982\u679c\u5143\u7d20\u6709<code>haslayout<\/code>, \u90a3\u4e48IE6\/IE7\u4e0b<code>:first-line<\/code>\u7684\u80cc\u666f\u5c31\u8fdb\u5165\u6708\u8bfb\uff0c\u5b8c\u5168\u6ca1\u4f5c\u7528\u4e86\uff08\u989c\u8272\u554a\u5b57\u7b26\u95f4\u8ddd\u4ec0\u4e48\u7684\u90fd\u8fd8\u662f\u6709\u4f5c\u7528\u7684\uff09\uff01<\/p>\n<p>\u8fd9\u662f\u76f8\u5f53\u5751\u7684\uff0c\u8981\u60f3\u6709\u80cc\u666f\uff0c\u5c31\u4e0d\u80fd\u6709<code>haslayout<\/code>, \u5219\u610f\u5473\u7740\uff0c\u5143\u7d20\u4e0d\u80fd\u5b9a\u9ad8\u5b9a\u5bbd\uff0c\u4e0d\u80fd<code>float<\/code>\uff0c\u5e94\u7528<code>inline-block<\/code>\u4ee5\u53ca\u7edd\u5bf9\u5b9a\u4f4d\uff0c\u4e5f\u5c31\u610f\u5473\u7740\u5143\u7d20\u81ea\u8eab\u662f\u4e0d\u53ef\u80fd\u81ea\u9002\u5e94\u5185\u90e8\u6587\u5b57\u7684\u3002<img decoding=\"async\" src=\"http:\/\/mat1.gtimg.com\/www\/mb\/images\/face\/5.gif\" align=\"absmiddle\">\n<\/li>\n<li><strong>IE6\u9009\u62e9\u5668\u7a7a\u683c\u4e0d\u8bc6\u522bbug<\/strong><img decoding=\"async\" src=\"http:\/\/mat1.gtimg.com\/www\/mb\/images\/face\/193.gif\" align=\"absmiddle\"><br \/>\n\u5728IE6\u6d4f\u89c8\u5668\u4e0b\uff0c\u5982\u679c\u8fd9\u6837\u5b50\u5199\uff1a<code>:first-line{}<\/code>\u662f\u65e0\u6548\u7684\uff1b\u8981\u8fd9\u6837\u5b50\u5199\uff1a<code>:first-line {}<\/code>\uff1b\u82b1\u62ec\u53f7<code>{<\/code>\u524d\u9762\u8981\u6709\u4e00\u4e2a\u7a7a\u683c\u3002<\/li>\n<li><strong>IE8 !important\u4e0d\u8bc6\u522bbug<\/strong><img decoding=\"async\" src=\"http:\/\/mat1.gtimg.com\/www\/mb\/images\/face\/98.gif\" align=\"absmiddle\"><br \/>\nIE8\u6d4f\u89c8\u5668\u4e2d\uff0c<code>:first-letter<\/code>\u6216<code>:first-line<\/code>\u4f2a\u5143\u7d20\u4e2d<code>!important<\/code>\u58f0\u660e\u4f1a\u88ab\u9119\u89c6\u3002<\/li>\n<li><strong>\u5176\u4ed6\u4e9bbug<\/strong><br \/>\n\u6bd4\u65b9\u8bf4IE8\u4e0b\u7b2c\u4e00\u4e2a\u5b50\u5143\u7d20\u4e3ablock\u6c34\u5e73\u4f46\u88ab<code>:first-line<\/code>\u4f2a\u5143\u7d20\u9009\u62e9\u7684bug\u7b49~~<\/li>\n<\/ol>\n<p>\u6211\u4eecIE6\/IE7\u4e0b\u591a\u80cc\u666f\u7684\u5b9e\u73b0\u662f\u501f\u52a9\u4e0a\u9762\u795e\u5947\u7684\u7b2c2\u4e2abug, \u4f46\u662f\uff0c\u7531\u4e8e<code>haslayout<\/code>\u7684bug, \u5728\u591a\u80cc\u666f\u5b9e\u73b0\u7684\u5b8c\u7f8e\u5ea6\u4e0a\u6253\u4e86\u4e2a\u5927\u5927\u6298\u6263\u554a\u3002\u5f53\u7136\uff0c\u6548\u679c\u5b9e\u73b0\u81ea\u7136\u6ca1\u95ee\u9898\uff0c\u5148\u7779\u4e3a\u5feb\uff01<\/p>\n<h3>\u56db\u3001\u8fd8\u662f\u81ea\u9002\u5e94\u6309\u94ae\u5b9e\u73b0\u7684\u4f8b\u5b50<\/h3>\n<p>\u4efb\u610f\u6d4f\u89c8\u5668\uff0c\u60a8\u53ef\u4ee5\u72e0\u72e0\u5730\u70b9\u51fb\u8fd9\u91cc\uff1a<a class=\"a_link\" href=\"http:\/\/www.zhangxinxu.com\/study\/201307\/first-line-multiple-backgrounds-width-auto-button.html\" target=\"_blank\">first-line\u4f2a\u7c7b\u4e0b\u517c\u5bb9\u7684\u5bbd\u5ea6\u81ea\u9002\u5e94\u6309\u94aedemo<\/a><\/p>\n<p>\u4f8b\u5982\uff0c\u5728\u672c\u8be5\u5ffd\u7565\u7684IE6\u6d4f\u89c8\u5668\u4e0b\uff1a<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201307\/2013-07-05_152754.png\" width=\"486\" height=\"215\" alt=\"IE6\u6d4f\u89c8\u5668\u4e0bfirst-line\u5b9e\u73b0\u7684\u591a\u80cc\u666f\u6548\u679c\u622a\u56fe \u5f20\u946b\u65ed-\u946b\u7a7a\u95f4-\u946b\u751f\u6d3b\" class=\"alignnone\" \/><\/p>\n<p>\u76f8\u5173\u6838\u5fc3CSS\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<div class=\"zxx_code\">\n<pre>.button {\r\n    display: block;\r\n    padding: 9px 1em 11px;\r\n    font-size: 14px;\r\n    line-height: 16px;\r\n    background:url(\/study\/image\/gray_baidu_btn.png) no-repeat right -36px;\r\n    text-align: center;\r\n    color: #333;\r\n}\r\n.button:first-line {\r\n    background: url(\/study\/image\/gray_baidu_btn.png) no-repeat;\r\n}<\/pre>\n<\/div>\n<p>demo\u4e2d\u6309\u94ae\u7684\u81ea\u9002\u5e94\u5b9e\u73b0\u5e76\u4e0d\u662f\u901a\u8fc7\u81ea\u8eab\u7684\u81ea\u9002\u5e94\u5b9e\u73b0\uff08haslayout bug\u7684\u9650\u5236\uff09\uff0c\u800c\u662f\u5916\u90e8\u7684\u81ea\u9002\u5e94\u9650\u5236\u5b9e\u73b0\u7684\u3002\u7b2c\u4e00\u4e2a\u6309\u94ae\u4e3a\u5bbd\u5ea6\u81ea\u9002\u5e94\u9650\u5236\u7684\u4f8b\u5b50\u3002\u5728\u5bb9\u5668\u5b9a\u5bbd\u7684\u9009\u9879\u5361\u6216\u5782\u76f4\u83dc\u5355\u5bfc\u822a\u4e0a\uff0c\u6b64\u65b9\u6cd5\u5f88\u6709\u4e00\u8bd5\u7684\u4ef7\u503c\u3002<\/p>\n<p>\u672cdemo\u4e2d\uff0cIE8+\u4ee5\u53ca\u5176\u4ed6\u73b0\u4ee3\u6d4f\u89c8\u5668\u7684\u5b9e\u73b0\u662f\u501f\u52a9<code>:before<\/code>\u4f2a\u5143\u7d20\u8fdb\u884c\u5b9a\u4f4d\u7684\u3002\u4e0d\u662f\u91cd\u70b9\u4e0d\u591a\u8bf4\u3002<\/p>\n<p><strong>\u5176\u4ed6\u9700\u8981\u8bf4\u660e\u7684\uff1a<\/strong><\/p>\n<ol>\n<li><code>:first-line<\/code>\u4f2a\u5143\u7d20\u7684\u80cc\u666f\u56fe\u7247\u8986\u76d6\u5143\u7d20\u81ea\u8eab\u7684\u80cc\u666f\u56fe\u7247\uff1b<\/li>\n<li>\u7531\u4e8e\u4e0d\u80fd<code>haslayout<\/code>, \u56e0\u6b64\uff0cIE6\/IE7\u4e0b\uff0c\u5143\u7d20\u4e0d\u80fd\u5e94\u7528<code>position:relative<\/code>, \u5e94\u8be5\u77e5\u9053\u7684\uff0c\u4f1a\u6709\u80cc\u666f\u56fe\u7247\u4e0a\u8fb9\u7f18\u51e0\u50cf\u7d20\u4e0d\u663e\u793a\u7684\u95ee\u9898\uff1b<\/li>\n<li>\u867d\u7136\u65b9\u6cd5\u6709\u5c40\u9650\uff0c\u4f46\u662f\uff0c\u4ece\u9762\u5411\u672a\u6765\u7684\u89d2\u5ea6\u8bb2\uff0c\u5c3d\u53ef\u80fd\u5c11\u7684\u6807\u7b7e\u5b9e\u73b0\u6309\u94ae\uff0c\u5728\u6570\u5e74\u4e4b\u540e\u7684\u5927\u6539\u4e2d\uff0c\u4f1a\u5e78\u798f\u5730\u6cea\u6d41\u6ee1\u9762\uff01\uff08\u4e3a\u4f55\uff1f\u266a \u5c31\u4e0d\u544a\u8bc9\u4f60..\u5c31\u4e0d\u544a\u8bc9\u4f60..\u5c31\u4e0d~\u544a\u8bc9\u4f60&#8230;.. \u266a\uff09\u56e0\u6b64\uff0c\u672c\u65b9\u6cd5\u867d\u7136\u6709\u5c40\u9650\uff0c\u4f46\u662f\uff0c\u9047\u5230\u9002\u5408\u4f7f\u7528\u7684\u60c5\u666f\u7684\u65f6\u5019\uff0c\u8bf7\u4e49\u4e0d\u5bb9\u8f9e\u4f7f\u7528\u4e4b\u3002<\/li>\n<li>\u6709\u4eba\u53ef\u80fd\u4f1a\u95ee\uff0c\u90a3\u914d\u5408\u5f00\u59cb\u63d0\u5230\u7684<code>AlphaImageLoader<\/code>\u6ee4\u955c\u5c82\u4e0d\u662f\u53ef\u4ee5\u5b9e\u73b0IE6\/IE7\u4e0b\u4e09\u80cc\u666f\u56fe\u7247\u6548\u679c\uff0c\u54c8\u54c8\uff01\u60f3\u6cd5\u4e0d\u9519\uff0c\u7136\u800c\uff0c\u5176\u4e2d\u6709\u4e2a\u4e0d\u53ef\u6297\u62d2\u7684\u6096\u8bba\uff1aIE6\/IE7\u4e0b\u6ee4\u955c\u8981\u6709\u6548\u679c\uff0c\u9700\u8981<code>haslayout<\/code>\uff1b\u800cIE6\/IE7\u4e0b<code>:first-line<\/code>\u8981\u6709\u6548\u679c\uff0c\u4e0d\u80fd<code>haslayout<\/code>. \u5927\u4eba\u548c\u5b69\u5b50\u53ea\u80fd\u4fdd\u4e00\u4e2a\uff0c\u9c7c\u548c\u718a\u638c\u53ea\u80fd\u5403\u4e00\u4e2a\uff0c\u4f60\u81ea\u5df1\u9009\u5427~<\/li>\n<\/ol>\n<p>\u7136\u540e\u2026\u2026\u597d\u50cf\u5b8c\u4e86\u3002<\/p>\n<h3>\u4e94\u3001\u7a81\u7136\u7684\u7ed3\u8bed<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/emtion\/ask.png\" width=\"150\" height=\"150\" alt=\"\u7591\u95ee\" class=\"alignleft mr10\" \/>\u6211\u5370\u8c61\u4e2d\uff0c\u6211\u5e94\u8be5\u6709\u597d\u591a\u5185\u5bb9\u8981\u5199\u7684\uff0c\u600e\u4e48\u5c31\u621b\u7136\u800c\u6b62\u4e86\u5462\uff1f<\/p>\n<p>\u554a\uff0c\u82b1\u8d39\u4eca\u5e74\u201c\u7ef4-\u7a33\u201d\u8d39\u7528\u7684\u4ebf\u5206\u4e4b\u4e00\u4e2a\u8111\u7ec6\u80de\u4e4b\u540e\uff0c\u6211\u8fd8\u771f\u60f3\u8d77\u4e86\u70b9\u5fd8\u8bb0\u8bf4\u7684\u5185\u5bb9\u3002<\/p>\n<p>IE6, IE7\u4e0b<code>button<\/code>\u5143\u7d20\u662f\u6ca1\u529e\u6cd5\u5e94\u7528\u591a\u80cc\u666f\u7684\uff0c\u56e0\u4e3a<code>button<\/code>\u5143\u7d20\u81ea\u8eab<code>haslayout<\/code>\uff0c\u6b64<code>layout<\/code>\u6c64\u59c6\u54e5\u90fd\u62b9\u6740\u4e0d\u6389\uff01<\/p>\n<p>\u5c31\u8fd9\u6837\u5427\u3002\u6587\u4e2d\u82e5\u6709\u9519\u8bef\u6b22\u8fce\u6307\u6b63\uff0c\u6700\u540e\u840c\u59b9\u5b50\u9547\u5e95\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202102\/9bao.jpg\" width=\"220\" height=\"240\" alt=\"\u840c\u59b9\u5b50 \u4e5d\u83b2\u5b9d\u706f\" class=\"imgpad\" \/><\/p>\n<p>\u672c\u6587\u4e3a\u539f\u521b\u6587\u7ae0\uff0c\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u6765\u81ea<a href=\"http:\/\/www.zhangxinxu.com\/\">\u5f20\u946b\u65ed-\u946b\u7a7a\u95f4-\u946b\u751f\u6d3b<\/a>[<a href=\"http:\/\/www.zhangxinxu.com\/\">http:\/\/www.zhangxinxu.com<\/a>]<br \/>\n\u672c\u6587\u5730\u5740\uff1a<a href=\"http:\/\/www.zhangxinxu.com\/wordpress\/?p=3458\">http:\/\/www.zhangxinxu.com\/wordpress\/?p=3458<\/a><\/p>\n<p>\uff08\u672c\u7bc7\u5b8c\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>background+filter\u6ee4\u955c\u53ef\u4ee5\u5b9e\u73b0\u4f4e\u7248\u672cIE\u6d4f\u89c8\u5668\u4e0b\u7684\u591a\u80cc\u666f\u6548\u679c\uff0c::first-line\u4f2a\u5143\u7d20\u4e5f\u662f\u53ef\u4ee5\u5b9e\u73b0\u7684\uff0c\u672c\u6587\u5c31\u5c06\u4ecb\u7ecd\u8fd9\u79cd\u6280\u5de7\u3002\u6709\u8868\u683c\u6570\u636e\u3001\u6709\u6e90\u4ee3\u7801\u5c55\u793a\uff0c\u6709demo\u9875\u9762\uff0c\u6709\u6548\u679c\u622a\u56fe\uff0c\u603b\u4e4b\uff0c\u5e0c\u671b\u672c\u6587\u7684\u5185\u5bb9\u80fd\u591f\u5bf9\u60a8\u7684\u5b66\u4e60\u6709\u6240\u5e2e\u52a9\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":[366,844,155,823,843,592],"_links":{"self":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/3458"}],"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=3458"}],"version-history":[{"count":0,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/3458\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/media?parent=3458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/categories?post=3458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/tags?post=3458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}