{"id":1043,"date":"2010-08-19T21:12:55","date_gmt":"2010-08-19T13:12:55","guid":{"rendered":"http:\/\/www.zhangxinxu.com\/wordpress\/?p=1043"},"modified":"2018-01-01T19:12:43","modified_gmt":"2018-01-01T11:12:43","slug":"html5-css-reset","status":"publish","type":"post","link":"https:\/\/www.zhangxinxu.com\/wordpress\/2010\/08\/html5-css-reset\/","title":{"rendered":"HTML5 css reset"},"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=1043\">http:\/\/www.zhangxinxu.com\/wordpress\/?p=1043<\/a><\/p>\n<p>\u6211\u4e2a\u4eba\u662f\u6bd4\u8f83\u8ba8\u538c\u8fd9\u7c7b\u5197\u4f59\u7684CSS reset\uff08\u53c2\u89c1\u6211\u201c<a title=\"CSS reset\u7684\u91cd\u65b0\u5ba1\u89c6 &ndash; \u907f\u514d\u6837\u5f0f\u91cd\u7f6e\" href=\"http:\/\/www.zhangxinxu.com\/wordpress\/?p=758\">CSS reset\u7684\u91cd\u65b0\u5ba1\u89c6 &ndash; \u907f\u514d\u6837\u5f0f\u91cd\u7f6e<\/a>\u201d\uff09\uff0c\u7edd\u5927\u591a\u6570\u662f\u6d6a\u8d39\u4ee3\u7801\uff0c\u6d6a\u8d39\u6027\u80fd\u3002\u6211\u4e2a\u4eba\u5efa\u8bae\u662f\u627e\u5230\u5176\u4e2d\u81ea\u5df1\u9700\u8981\u7684\uff0c\u4e0d\u8981\u5168\u76d8\u7167\u642c\u3002<\/p>\n<div class=\"zxx_code\">\n<pre>\/* \nhtml5doctor.com Reset Stylesheet\nv1.4.1 \n2010-03-01\nAuthor: Richard Clark - http:\/\/richclarkdesign.com\n*\/\n\nhtml, body, div, span, object, iframe,\nh1, h2, h3, h4, h5, h6, p, blockquote, pre,\nabbr, address, cite, code,\ndel, dfn, em, img, ins, kbd, q, samp,\nsmall, strong, sub, sup, var,\nb, i,\ndl, dt, dd, ol, ul, li,\nfieldset, form, label, legend,\ntable, caption, tbody, tfoot, thead, tr, th, td,\narticle, aside, canvas, details, figcaption, figure, \nfooter, header, hgroup, menu, nav, section, summary,\ntime, mark, audio, video {\n    margin:0;\n    padding:0;\n    border:0;\n    outline:0;\n    font-size:100%;\n    vertical-align:baseline;\n    background:transparent;\n}\n\nbody {\n    line-height:1;\n}\n\n:focus {\n\toutline: 1;\n}\n\narticle,aside,canvas,details,figcaption,figure,\nfooter,header,hgroup,menu,nav,section,summary { \n    display:block;\n}\n\nnav ul {\n    list-style:none;\n}\n\nblockquote, q {\n    quotes:none;\n}\n\nblockquote:before, blockquote:after,\nq:before, q:after {\n    content:'';\n    content:none;\n}\n\na {\n    margin:0;\n    padding:0;\n    border:0;\n    font-size:100%;\n    vertical-align:baseline;\n    background:transparent;\n}\n\nins {\n    background-color:#ff9;\n    color:#000;\n    text-decoration:none;\n}\n\nmark {\n    background-color:#ff9;\n    color:#000; \n    font-style:italic;\n    font-weight:bold;\n}\n\ndel {\n    text-decoration: line-through;\n}\n\nabbr[title], dfn[title] {\n    border-bottom:1px dotted #000;\n    cursor:help;\n}\n\ntable {\n    border-collapse:collapse;\n    border-spacing:0;\n}\n\nhr {\n    display:block;\n    height:1px;\n    border:0;   \n    border-top:1px solid #cccccc;\n    margin:1em 0;\n    padding:0;\n}\n\ninput, select {\n    vertical-align:middle;\n}<\/pre>\n<\/div>\n<p>\u6b64\u6bb5\u5305\u542bHTML5\u7684CSS reset\u6765\u81ea\uff1a<a href=\"http:\/\/html5reset.org\/\">http:\/\/html5reset.org\/<\/a><\/p>\n<p>\u5e0c\u671b\u80fd\u9700\u8981\u7684\u4eba\u63d0\u4f9b\u4e9b\u5e2e\u52a9\u3002<\/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=1043\">http:\/\/www.zhangxinxu.com\/wordpress\/?p=1043<\/a><\/p>\n<p>\uff08\u672c\u7bc7\u5b8c\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u5185\u5bb9\u5f88\u7b80\u5355\uff0c\u5c31\u662f\u5c55\u793a\u4e86\u4e0bHTML5\u4e0b\u7684CSS reset\u4ee3\u7801\uff0c\u5e0c\u671b\u80fd\u9700\u8981\u7684\u4eba\u63d0\u4f9b\u4e9b\u5e2e\u52a9\u3002\u7531\u4e8e\u672c\u4eba\u76f8\u5f53\u9119\u89c6\u8fd9\u7c7b\u5197\u4f59\u65e0\u6bd4\u7684CSS reset\uff0c\u6240\u4ee5\uff0c\u81ea\u5df1\u4e5f\u5c31\u6ca1\u6709\u8bf4\u4ec0\u4e48\u5185\u5bb9\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":[378,1271,52],"_links":{"self":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/1043"}],"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=1043"}],"version-history":[{"count":0,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/1043\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1043"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1043"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1043"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}