{"id":5321,"date":"2016-03-24T23:20:07","date_gmt":"2016-03-24T15:20:07","guid":{"rendered":"http:\/\/www.zhangxinxu.com\/wordpress\/?p=5321"},"modified":"2018-01-10T00:15:29","modified_gmt":"2018-01-09T16:15:29","slug":"know-about-css3-all","status":"publish","type":"post","link":"https:\/\/www.zhangxinxu.com\/wordpress\/2016\/03\/know-about-css3-all\/","title":{"rendered":"\u7b80\u5355\u4e86\u89e3CSS3\u7684all\u5c5e\u6027"},"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=5321\">http:\/\/www.zhangxinxu.com\/wordpress\/?p=5321<\/a><\/p>\n<h3>\u4e00\u3001\u517c\u5bb9\u6027<\/h3>\n<p>\u4e00\u4e9bCSS\u6587\u7ae0\uff0c\u6216\u8005CSS\u6587\u6863\uff0c\u517c\u5bb9\u6027\u4ec0\u4e48\u7684\u90fd\u662f\u653e\u5728\u6700\u540e\u3002<\/p>\n<p>\u53c8\u4e0d\u662f\u4ec0\u4e48\u89c1\u4e0d\u5f97\u4eba\u7684\u4e8b\u60c5\uff0c\u6765\uff0c\u76f4\u63a5\u5f00\u7bc7\u5c31\u4eae\u523a\u5200\u3002<a href=\"http:\/\/caniuse.com\/css-all\/embed\" rel=\"nofollow\" target=\"_blank\">\u517c\u5bb9\u6027<\/a>\u5982\u4e0b\u56fe\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201801\/2018-01-10_001350.png\" width=\"556\" height=\"265\" alt=\"CSS all\u5c5e\u6027\u517c\u5bb9\u6027\" class=\"alignnone\" \/><\/p>\n<p>\u517c\u5bb9\u6027\u8fd8\u884c\uff0c \u9664\u4e86IE\u4e0d\u652f\u6301\uff0c\u5176\u4ed6\u6d4f\u89c8\u5668\u57fa\u672c\u4e0a\u90fd\u7eff\u6cb9\u6cb9\uff0c\u76ee\u524d\u81ea\u5a31\u81ea\u4e50\uff0c\u5185\u7f51\u9879\u76ee\u4ec0\u4e48\u7684\u90fd\u662f\u53ef\u4ee5\u7528\u7528\u7684\u3002<\/p>\n<h3>\u4e8c\u3001all\u662f\u5e72\u561b\u7528\u7684<\/h3>\n<p><code>all<\/code>\u5c5e\u6027\u5b9e\u9645\u4e0a\u662f\u6240\u6709CSS\u5c5e\u6027\u7684\u7f29\u5199\uff0c\u8868\u793a\uff0c\u6240\u6709\u7684CSS\u5c5e\u6027\u90fd\u600e\u6837\u600e\u6837\uff0c\u4f46\u662f\uff0c\u4e0d\u5305\u62ecunicode-bidi\u548c<a href=\"http:\/\/www.zhangxinxu.com\/wordpress\/2016\/03\/css-direction-introduction-apply\/\">direction<\/a>\u8fd9\u4e24\u4e2aCSS\u5c5e\u6027\u3002<\/p>\n<p>\u4e3a\u4ec0\u4e48\u4f1a\u6709\u8fd9\u4e2aCSS\u5c5e\u6027\u5462\uff1f<\/p>\n<p>\u6211\u4eec\u53ef\u80fd\u77e5\u9053\uff0c\u6709\u4e9bCSS\u5c5e\u6027\u503c\u57fa\u672c\u4e0a\u6240\u6709CSS\u5c5e\u6027\u90fd\u6709\uff0c\u6bd4\u65b9\u8bf4\u7ee7\u627f<code>inherit<\/code>!<\/p>\n<p>\u6211\u4eecCSS reset\u8f93\u5165\u6846\u7684\u65f6\u5019\uff0c\u662f\u4e0d\u662f\u6709\u7c7b\u4f3c\u8fd9\u6837\u7684\u4ee3\u7801\uff08\u5b9e\u9645\u53ef\u80fd\u662f\u5177\u4f53\u503c\uff0c\u4f5c\u7528\u7c7b\u4f3c\uff09\uff1a<\/p>\n<div class=\"zxx_code\">\n<pre>input, textarea {\n    color: inherit;\n    font-size: inherit;\n    font-family: inherit;\n}<\/pre>\n<\/div>\n<p>\u56e0\u4e3a\u8fd9\u7c7b\u8f93\u5165\u63a7\u4ef6\u81ea\u8eab\u6709\u5185\u7f6e\u7684\u5927\u5c0f\u548c\u5b57\u4f53\uff0c\u9700\u8981\u91cd\u7f6e\u3002<\/p>\n<p>\u6b64\u65f6\uff0c\u5927\u5bb6\u5c31\u4f1a\u53d1\u73b0\uff0c\u8fd9\u4e9b\u5c5e\u6027\u503c\u90fd\u662f<code>inherit<\/code>, \u8981\u662f\u53ef\u4ee5\u5408\u5e76\u5c31\u597d\u4e86\uff01<\/p>\n<p>\u54df\u54df\u54df\uff0c\u8bf4\u5230\u70b9\u5b50\u4e0a\u4e86\uff0cCSS <code>all<\/code>\u5c5e\u6027\u5c31\u662f\u7528\u6765\u5408\u5e76\u7684\u3002<\/p>\n<div class=\"zxx_code\">\n<pre>input, textarea { \n   all: inherit; \n}<\/pre>\n<\/div>\n<p>\u5594\u5662\uff0c\u4e09\u5408\u4e00\uff0c\u987f\u65f6\u4e00\u9635\u6625\u98ce\u62c2\u9762\u4e4b\u611f\u3002\u4f46\u662f\uff0c\u8fd9\u91cc\u4ec5\u4ec5\u662f\u5c55\u793a\u4f5c\u7528\uff0c\u5b9e\u9645\u4e0a\u662f\u4e0d\u4f1a\u8fd9\u4e48\u7528\u7684\uff0c\u56e0\u4e3a\uff0c<code>all:inherit<\/code>\u4f1a\u8ba9\u80cc\u666f\u8272\u4ec0\u4e48\u7684\uff0c\u90fd\u7ee7\u627f\u7236\u7ea7\uff0c\u76f8\u4fe1\u8fd9\u4e0d\u662f\u4f60\u5e0c\u671b\u770b\u5230\u7684\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201603\/xiaolei.png\" width=\"100\" height=\"82\" alt=\"\u8868\u60c5\" class=\"alignnone\" \/><\/p>\n<h3>\u4e09\u3001\u8bed\u6cd5\u548c\u533a\u522b<\/h3>\n<p>\u8bed\u6cd5\u5982\u4e0b\uff1a<\/p>\n<div class=\"zxx_code\">\n<pre>all: initial;\nall: inherit;\nall: unset;\n\n<span style=\"color:green;\">\/* CSS4\u7279\u6027\uff0c\u65e0\u89c6\u4e4b *\/<\/span>\nall: revert;<\/pre>\n<\/div>\n<p>\u652f\u6301\u4e09\u4e2aCSS\u901a\u7528\u5c5e\u6027\u503c\uff0c<code>initial<\/code>, <code>inherit<\/code>, <code>unset<\/code>. \u8fd9\u4e09\u4e2a\u5c5e\u6027\u503c\u5206\u522b\u8868\u793a\u4ec0\u4e48\u610f\u601d\u5462\uff1f<\/p>\n<p>\u60a8\u53ef\u4ee5\u72e0\u72e0\u5730\u70b9\u51fb\u8fd9\u91cc\uff1a<a href=\"http:\/\/www.zhangxinxu.com\/study\/201603\/css3-all.html\" target=\"_blank\">CSS3 all\u5c5e\u6027\u6f14\u793ademo<\/a><\/p>\n<p>\u9ed8\u8ba4\u7684HTML\u548cCSS\u662f\u8fd9\u6837\u7684\uff0c\u4e00\u4e2a\u4f20\u7edf\u7684\u6807\u7b7e\u5185\u5bb9\uff0c\u6709\u6807\u9898\u6709\u5217\u8868\uff1a<\/p>\n<div class=\"zxx_code\">\n<pre>&lt;article&gt;\n    &lt;h6&gt;\u6807\u9898&lt;\/h6&gt;\n    &lt;p&gt;p\u53d8\u6587\u5b57&lt;\/p&gt;\n    &lt;ol&gt;\n        &lt;li&gt;\u6709\u5e8f\u5217\u88681&lt;\/li&gt;\n        &lt;li&gt;\u6709\u5e8f\u5217\u88682&lt;\/li&gt;\n        &lt;li&gt;\u6709\u5e8f\u5217\u88683&lt;\/li&gt;\n    &lt;\/ol&gt;\n    &lt;textarea&gt;\u6587\u672c\u57df&lt;\/textarea&gt;\n&lt;\/article&gt;<\/pre>\n<\/div>\n<div class=\"zxx_code\">\n<pre>article {\n    background-color: #f0f3f9;\n    color: green;\n}\narticle &gt; textarea {\n    border: 1px solid #34538b;\n    background-color: #ffffe0;\n    color: red;\n}<\/pre>\n<\/div>\n<p>\u8fd9\u76db\u4e16\uff0c\u5982\u4f60\u6240\u89c1\uff1a<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201603\/2016-03-24_223217.png\" width=\"382\" height=\"256\" alt=\"\u901a\u5e38\u8868\u73b0\u7684\u6a21\u6837\" class=\"alignnone\" \/><\/p>\n<p>\u989c\u8272\u554a\uff0c\u95f4\u8ddd\u554a\uff0c\u4ee5\u53ca\u6587\u672c\u57df\u72b6\u6001\u90fd\u662f\u6211\u4eec\u8ba4\u4e3a\u7684\u6837\u5b50\u663e\u793a\u3002<\/p>\n<p>\u73b0\u5728\uff0c\u70b9\u51fbdemo\u7684\u4e0b\u62c9\uff0c\u9009\u62e9\u5bf9\u5e94\u7684<code>all<\/code>\u5c5e\u6027\u503c\uff0c\u5b9e\u73b0\u4e0b\u9762CSS\u6548\u679c\uff1a<\/p>\n<div class=\"zxx_code\">\n<pre>.initial &gt; * {\n    all: initial;\n}\n.inherit &gt; * {\n    all: inherit;\n}\n.unset &gt; * {\n    all: unset;\n}<\/pre>\n<\/div>\n<p>\u7ed3\u679c\uff1a<\/p>\n<ul>\n<li><strong>initial<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201603\/2016-03-24_223458.png\" width=\"342\" height=\"246\" alt=\"initial\u503c\u6548\u679c\" class=\"alignnone\" \/><\/p>\n<p>initial\u662f\u521d\u59cb\u503c\u7684\u610f\u601d\uff0c\u4e5f\u5c31\u662f\uff0c<code>article<\/code>\u5143\u7d20\u4e0b\u9762\u6240\u6709\u7684\u7b2c\u4e00\u7ea7\u5b50\u5143\u7d20\u90fd\u9664\u4e86<code>unicode-bidi<\/code>\u548c<code>direction<\/code>\u4ee5\u5916\u7684CSS\u90fd\u4f7f\u7528\u521d\u59cb\u503c\u3002<\/p>\n<p>\u4f8b\u5982\uff0c<code>&lt;h6&gt;<\/code>, <code>&lt;p&gt;<\/code>\u5143\u7d20\u6d4f\u89c8\u5668\u5185\u7f6e\u7684<code>display:block<\/code>\u76f4\u63a5\u62dc\u62dc\u4e86\uff0c\u90fd\u53d8\u6210\u4e86<code>inline<\/code>\u5143\u7d20\uff0c\u56e0\u6b64\u5728\u4e00\u884c\u663e\u793a\uff1a<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201603\/2016-03-24_224008.png\" width=\"423\" height=\"186\" alt=\"\u6d4f\u89c8\u5668\u5185\u7f6eCSS\u88ab\u5e72\u6389\" class=\"alignnone\" \/><\/p>\n<p><code>font-size<\/code>\u4e5f\u4f7f\u7528\u4e86\u6d4f\u89c8\u5668\u8f6f\u4ef6\u672c\u8eab\u8bbe\u7f6e\u7684\u5927\u5c0f<code>16px<\/code>\uff0c<code>color<\/code>\u989c\u8272\u4e5f\u53d8\u6210\u4e86\u6d4f\u89c8\u5668\u8f6f\u4ef6\u672c\u8eab\u7684\u9ed1\u8272\u3002\u4f8b\u5982\uff0c\u5728\u6d4f\u89c8\u5668\u8bbe\u7f6e\u4e2d\u6539\u53d8\u5b57\u53f7\uff0c\u4ece\u4e2d\u53d8\u6210\u5927\uff1a<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201603\/2016-03-24_224517.png\" width=\"444\" height=\"174\" alt=\"\u5b57\u53f7\u6d4f\u89c8\u5668\u53d8\u5316\" class=\"alignnone\" \/><\/p>\n<p>\u4f1a\u770b\u5230\u663e\u793a\u7684\u6587\u5b57\u5185\u5bb9\u4e5f\u53d8\u5927\u4e86\uff1a<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201603\/2016-03-24_224541.png\" width=\"343\" height=\"252\" alt=\"\u5185\u5bb9\u6587\u5b57\u4e5f\u53d8\u5927\" class=\"alignnone\" \/><\/p>\n<p>\u7531\u4e8e\u6211\u4eec\u53ea\u662f\u5bf9\u76f8\u90bb\u5c42\u7ea7\u5b50\u5143\u7d20\u8fdb\u884c\u4e86<code>initial<\/code>\u8bbe\u7f6e\uff0c\u56e0\u6b64\uff0c<code>&lt;li&gt;<\/code>\u5143\u7d20\u4e0d\u53d7\u5f71\u54cd\uff0c\u4f46\u662f\uff0c\u7531\u4e8e\u5728\u7236\u5143\u7d20\u4e0d\u660e\u7684\u60c5\u51b5\u4e0b\uff0c<code>&lt;li&gt;<\/code>\u5143\u7d20\u7684\u9ed8\u8ba4\u662f\u6253\u70b9\uff0c\u56e0\u6b64\uff0c\u8fd9\u91cc\u4ece\u6570\u5b57\u53d8\u6210\u4e86\u70b9\uff0c<code>list-style-type<\/code>\u548c<code>list-style-position<\/code>\u90fd\u53d8\u5316\u4e86\u3002\n<\/li>\n<li><strong>inherit<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201603\/2016-03-24_225200.png\" width=\"321\" height=\"229\" alt=\"\u7ee7\u627f\u6548\u679c\" class=\"alignnone\" \/><\/p>\n<p>inherit\u662f\u7ee7\u627f\u7684\u610f\u601d\uff0c\u4e5f\u5c31\u662f\uff0c<code>article<\/code>\u5143\u7d20\u4e0b\u9762\u6240\u6709\u7684\u76f8\u90bb\u5b50\u5143\u7d20\u90fd\u9664\u4e86<code>unicode-bidi<\/code>\u548c<code>direction<\/code>\u4ee5\u5916\u7684CSS\u90fd\u7ee7\u627f\u4e86<code>&lt;article&gt;<\/code>\u5143\u7d20\u7684CSS\u3002<\/p>\n<p>\u56e0\u6b64\uff0c<code>&lt;h6&gt;<\/code>, <code>&lt;p&gt;<\/code>\u5143\u7d20\u8fd8\u662f\u5757\u72b6\u7684\uff0c<code>background-color<\/code>\u90fd\u662f<code>&lt;article&gt;<\/code>\u5143\u7d20\u7684\u80cc\u666f\u8272\uff0c<code>color<\/code>\u989c\u8272\u4e5f\u8ddf<code>&lt;article&gt;<\/code>\u4e00\u6837\uff0c\u662f\u7eff\u8272\uff08\u6587\u672c\u57df\u7684\u7ea2\u8272\u88ab\u5e72\u6389\u4e86\uff09\u3002<\/p>\n<p>\u4e0d\u4ec5\u4e0a\u9762\u8fd9\u4e9bCSS\uff0c<code>padding<\/code>\/<code>margin<\/code>\u4e5f\u90fd\u7ee7\u627f\u4e86\uff0c\u53ea\u662f\u9ed8\u8ba4\u662f<code>0<\/code>, \u770b\u4e0d\u51fa\u6765\uff0c\u6211\u4eec\u7a0d\u5fae\u4fee\u6539\u4e0b\uff0c\u4f8b\u5982\u7ed9<code>&lt;article&gt;<\/code>\u5143\u7d20\u6765\u4e2a<code>margin<\/code>\u503c\uff1a<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201603\/2016-03-24_225514.png\" width=\"323\" height=\"117\" alt=\"article\u589e\u52a0margin\" class=\"alignnone\" \/><\/p>\n<p>\u7ed3\u679c\uff0c\u90a3\u4e9b\u5b50\u5143\u7d20\u90fd\u5f00\u82b1\u4e86\uff1a<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201603\/2016-03-24_225525.png\" width=\"301\" height=\"231\" alt=\"\u6240\u6709\u5b50\u5143\u7d20\u90fd\u6709\u95f4\u8ddd\" class=\"alignnone\" \/><\/li>\n<li><strong>unset<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201603\/2016-03-24_225931.png\" width=\"316\" height=\"208\" alt=\"unset\u6548\u679c\u622a\u56fe\" class=\"alignnone\" \/><\/p>\n<p>unset\u662f\u53d6\u6d88\u8bbe\u7f6e\u7684\u610f\u601d\uff0c\u4e5f\u5c31\u662f\uff0c<code>article<\/code>\u5143\u7d20\u4e0b\u9762\u6240\u6709\u7684\u76f8\u90bb\u5b50\u5143\u7d20\u9664\u4e86<code>unicode-bidi<\/code>\u548c<code>direction<\/code>\u4ee5\u5916\u7684CSS\u90fd\u5e72\u6389\u90fd\u4e0d\u8981\uff0c\u4e0d\u8981\u4e86\u90a3\u7528\u4ec0\u4e48\u5462\uff1f<code>unset<\/code>\u503c\u7684\u7279\u6027\u5982\u4e0b\uff0c\u5f53\u524d\u5143\u7d20\u6d4f\u89c8\u5668\u6216\u7528\u6237\u8bbe\u7f6e\u7684CSS\u5ffd\u7565\uff0c\u7136\u540e\u5982\u679c\u662f\u5177\u6709\u7ee7\u627f\u7279\u6027\u7684CSS\uff0c\u5982<code>color<\/code>, \u5219\u4f7f\u7528\u7ee7\u627f\u503c\uff1b\u5982\u679c\u662f\u6ca1\u6709\u7ee7\u627f\u7279\u6027\u7684CSS\u5c5e\u6027\uff0c\u5982<code>background-color<\/code>, \u5219\u4f7f\u7528\u521d\u59cb\u503c\u3002<\/p>\n<p>\u56e0\u6b64\uff0c<code>&lt;h6&gt;<\/code>, <code>&lt;p&gt;<\/code>\u5143\u7d20\u7684<code>display<\/code>\u5c5e\u6027\u503c\u4f7f\u7528\u4e86initial\u521d\u59cb\u503c\uff0c\u56e0\u6b64\u53d8\u6210\u4e86<code>inline<\/code>\u5143\u7d20\uff0c\u4e24\u4e2a\u540c\u4e00\u884c\u663e\u793a\u4e86\uff1b\u800c\u8fd9\u4e9b\u5143\u7d20\u7684<code>color<\/code>\u989c\u8272\u4f7f\u7528\u4e86inherit\u7ee7\u627f\u503c\uff0c\u56e0\u6b64\u90fd\u662f\u7eff\u8272\uff0c<code>&lt;textarea&gt;<\/code>\u7684\u80cc\u666f\u8272<code>background-color<\/code>\u4e0d\u5177\u6709\u7ee7\u627f\u7279\u6027\uff0c\u56e0\u6b64\u4f7f\u7528\u7684\u662finitial\u521d\u59cb\u503c\uff0c\u4e5f\u5c31\u662f<code>transparent<\/code>\u900f\u660e\uff0c\u56e0\u6b64\uff0c\u5c31\u662f\u622a\u56fe\u6240\u793a\u6548\u679c\u3002<\/li>\n<\/ul>\n<h3>\u4e09\u3001\u7ed3\u8bed<\/h3>\n<p>\u52a8\u624b\u5199\u6587\u7ae0\u4e4b\u524d\uff0c\u8fd8\u4ee5\u4e3a\u8fd9\u4e2aCSS\u5c5e\u6027\u4f1a\u6709\u610f\u60f3\u4e0d\u5230\u7684\u5999\u7528\uff0c\u6700\u540e\u7ed3\u679c\u662f\uff0c\u8868\u73b0\u786e\u5b9e\u610f\u60f3\u4e0d\u5230\uff0c\u81f3\u4e8e\u5999\u7528\uff0c\u6211\u53ea\u80fd\u79d1\u79d1\u4e00\u4e0b\u3002<\/p>\n<p><code>all<\/code>\u6240\u7275\u626f\u7684CSS\u5b9e\u5728\u662f\u592a\u591a\u4e86\uff0c\u6211\u76ee\u524d\u8fd8\u662f\u60f3\u4e0d\u51fa\u6709\u4ec0\u4e48\u573a\u666f\uff0c\u5c31\u662f\u8981\u7528\u8fd9\u4e2aCSS\u5c5e\u6027\u3002\u6216\u8005\u8bf4\u4ec0\u4e48\u65f6\u5019\uff0c\u5e0c\u671b\u7279\u6b8a\u7684\u5143\u7d20\u4e00\u4e0b\u5b50\u53d8\u6210\u666e\u901a\u5143\u7d20\uff0c\u4f8b\u5982\uff0c<code>input<\/code>\u8f93\u5165\u6846\u5916\u9762\u4e00\u4e2a<code>div<\/code>\uff0c\u6765\u4e2a<code>input{all:inherit;}<\/code>\uff0c\u8c8c\u4f3c\u8fd8\u771f\u6709\u8fd9\u6837\u7684\u573a\u666f\uff0c\u8f93\u5165\u6846\u4e0d\u9700\u8981<code>border<\/code>\u4e0d\u9700\u8981<code>background<\/code>\u4e0d\u9700\u8981<code>padding<\/code>\u4e0d\u9700\u8981<code>margin<\/code>, \u6069\uff0c\u4e0d\u9519\uff0c\u4e0d\u6789\u5199\u6b64\u6587\u4e86\uff01<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201603\/dog.jpg\" width=\"200\" height=\"267\" alt=\"\u7728\u773c\u5356\u840c\" class=\"alignnone\" \/><\/p>\n<p>\u672c\u6587\u4e3a\u539f\u521b\u6587\u7ae0\uff0c\u4f1a\u7ecf\u5e38\u66f4\u65b0\u77e5\u8bc6\u70b9\u4ee5\u53ca\u4fee\u6b63\u4e00\u4e9b\u9519\u8bef\uff0c\u56e0\u6b64\u8f6c\u8f7d(\u56fe\u7247\u8bf7\u52ff\u76f4\u63a5\u5916\u94fe)\u8bf7\u4fdd\u7559\u539f\u51fa\u5904\uff0c\u65b9\u4fbf\u6eaf\u6e90\uff0c\u907f\u514d\u9648\u65e7\u9519\u8bef\u77e5\u8bc6\u7684\u8bef\u5bfc\uff0c\u540c\u65f6\u6709\u66f4\u597d\u7684\u9605\u8bfb\u4f53\u9a8c\u3002<br \/>\n\u672c\u6587\u5730\u5740\uff1a<a href=\"http:\/\/www.zhangxinxu.com\/wordpress\/?p=5321\">http:\/\/www.zhangxinxu.com\/wordpress\/?p=5321<\/a><\/p>\n<p>\uff08\u672c\u7bc7\u5b8c\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>all\u5c5e\u6027\u5b9e\u9645\u4e0a\u662f\u6240\u6709CSS\u5c5e\u6027\u7684\u7f29\u5199\uff0c\u8868\u793a\uff0c\u6240\u6709\u7684CSS\u5c5e\u6027\u90fd\u600e\u6837\u600e\u6837\uff0c\u4f46\u662f\uff0c\u4e0d\u5305\u62ecunicode-bidi\u548cdirection\u8fd9\u4e24\u4e2aCSS\u5c5e\u6027\u3002<\/p>\n<p>\u4e3a\u4ec0\u4e48\u4f1a\u6709\u8fd9\u4e2aCSS\u5c5e\u6027\u5462\uff1f<\/p>\n<p>\u6211\u4eec\u53ef\u80fd\u77e5\u9053\uff0c\u6709\u4e9bCSS\u5c5e\u6027\u503c\u57fa\u672c\u4e0a\u6240\u6709CSS\u5c5e\u6027\u90fd\u6709\uff0c\u6bd4\u65b9\u8bf4\u7ee7\u627finherit!<\/p>\n<p>\u6211\u4eecCSS reset\u8f93\u5165\u6846\u7684\u65f6\u5019\uff0c\u662f\u4e0d\u662f\u6709\u7c7b\u4f3c\u8fd9\u6837\u7684\u4ee3\u7801&#8230;<\/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":[1048,980,1050,1049,449],"_links":{"self":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/5321"}],"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=5321"}],"version-history":[{"count":0,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/5321\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/media?parent=5321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/categories?post=5321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/tags?post=5321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}