{"id":1019,"date":"2019-12-12T14:03:07","date_gmt":"2019-12-12T06:03:07","guid":{"rendered":"http:\/\/www.baishitou.cn\/?p=1019"},"modified":"2019-12-21T11:09:58","modified_gmt":"2019-12-21T03:09:58","slug":"dedecms%e7%ba%afcss%e4%b8%80%e7%ba%a7%e6%a0%8f%e7%9b%ae%e4%b8%8b%e6%8b%89%e5%af%bc%e8%88%aa%e8%8f%9c%e5%8d%95","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/1019.html","title":{"rendered":"\u7ec7\u68a6\u7eafCSS\u4e00\u7ea7\u680f\u76ee\u4e0b\u62c9\u5bfc\u822a\u83dc\u5355\u4ee3\u7801"},"content":{"rendered":"

\u7ec7\u68a6html\u7eafCSS\u4e00\u7ea7\u680f\u76ee\u4e0b\u62c9\u5bfc\u822a\u83dc\u5355\uff0c\u627e\u4e86\u597d\u4e45\u6ca1\u627e\u5230\u6ee1\u610f\u7684\uff0c\u7f51\u4e0a\u7684\u90fd\u662f\u4ece\u4ee5\u524dDEDECMS5.5\u7248\u672c\u6252\u4e0b\u6765\u7684\uff0c\u8fd8\u8981\u8c03\u7528JS.\u6574\u4e86\u534a\u5929\uff0c\u5f88\u591a\u6d4b\u8bd5\u8c03\u7528\u4e0d\u51fa\u6765\uff0c\u6211\u627e\u7684\u8fd9\u4e2a\u4e0a\u7eafCSS\uff0c\u4e0d\u9700\u8981\u4fee\u6539\u5176\u4ed6\u7f51\u7ad9\u6587\u4ef6\uff0c\u73b0\u5206\u4eab\u7ed9\u5927\u5bb6\u3002<\/p>\n

\u6548\u679c\u56fe\uff1a<\/h2>\n

\"QQ\u622a\u56fe20170112134804\"<\/a><\/p>\n

\u6837\u5f0f<\/h2>\n
body{ font:14px \"Microsoft YaHei\", Arial,Verdana,tahoma, Srial, helvetica, sans-serif; line-height:1.8; color:#333; background:#fff;}\r\n.menu {height: 40px; background: #4ba036;position: relative; z-index:999;\r\n}\r\n.menu a {\r\n\ttext-decoration: none;display: block; padding: 0 12px; margin-right: 1px; line-height: 40px; font-size: 16px; color: #fff;\r\n}\r\nul {\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n}\r\n.menu li {\r\n\tlist-style: none;\r\n\tfloat: left;\r\n\twidth: 90px;\r\n\toverflow: visible;\r\n\tcursor: pointer;\r\n}\r\nul.level0 {\r\n\theight: 40px;\r\n\toverflow: visible;\r\n}\r\nul.level1, ul.level2, ul.level3 {\r\n\twidth: 90px;\r\n\tdisplay: none;\r\n}\r\nul.level2, ul.level3 {\r\n\tmargin: -28px 0 0 90px;\r\n}\r\nul.level0 > li {\r\n\theight: 40px;\r\n\tline-height: 40px;\r\n\ttext-align: center;\r\n\tbackground: #4ba036;\r\n}\r\nul.level1 > li, ul.level2 > li, ul.level3 > li {\r\n\theight: 40px;\r\n\tline-height: 40px;\r\n\tbackground: #308a1a;\r\n}\r\nul.level0 > li:hover {\r\n\tbackground: #308a1a;\r\n}\r\nul.level1 > li:hover, ul.level2 > li:hover, ul.level3 > li:hover {\r\n\tbackground: #4ba036;\r\n}\r\nul.level0 > li.imyeah:hover > ul, ul.level1 > li.imyeah:hover > ul, ul.level2 > li.imyeah:hover > ul, ul.level3 > li.imyeah:hover > ul {\r\n\tdisplay: block;\r\n}\r\n\r\n<\/pre>\n

\u8c03\u7528\u4ee3\u7801\uff1a<\/h2>\n
<div class=\"menu\">\r\n  <div class=\"bar\">\r\n    <ul class=\"level0\">\r\n      <li><a href=\"\/\">\u9996\u9875<\/a><\/li>\r\n      {dede:channelartlist typeid=\"top\" row='18' currentstyle=\"<li class='active'><a href='~typelink~' ~rel~><span>~typename~<\/span><\/a><\/li>\"}\r\n      <li class=\"imyeah\"><a href=\"{dede:field name=\"typeurl\"\/}\" target=\"_blank\">{dede:field name=\"typename\"\/}<\/a>\r\n        <ul class=\"level1\">\r\n          {dede:channel type=\"son\"}\r\n          <li><a href=\"[field:typeurl\/]\" title=\"[field:typename\/]\">[field:typename\/]<\/a><\/li>\r\n          {\/dede:channel}\r\n        <\/ul>\r\n      <\/li>\r\n      {\/dede:channelartlist}\r\n    <\/ul>\r\n  <\/div>\r\n<\/div><\/code><\/pre>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

\u7ec7\u68a6html\u7eafCSS\u4e00\u7ea7\u680f\u76ee\u4e0b\u62c9\u5bfc\u822a\u83dc\u5355\uff0c\u627e\u4e86\u597d\u4e45\u6ca1\u627e\u5230\u6ee1\u610f\u7684\uff0c\u7f51\u4e0a\u7684\u90fd\u662f\u4ece\u4ee5\u524dDEDECMS5.5\u7248\u672c\u6252\u4e0b\u6765 […]<\/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":[43,288,180],"class_list":["post-1019","post","type-post","status-publish","format-standard","hentry","category-web","tag-dedecms","tag-288","tag-180"],"_links":{"self":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/1019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/comments?post=1019"}],"version-history":[{"count":0,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/1019\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/media?parent=1019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/categories?post=1019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/tags?post=1019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}