{"id":1967,"date":"2018-10-31T11:40:55","date_gmt":"2018-10-31T03:40:55","guid":{"rendered":"https:\/\/www.baishitou.cn\/?p=1967"},"modified":"2018-10-31T12:43:59","modified_gmt":"2018-10-31T04:43:59","slug":"css%e5%9b%be%e7%89%87%e4%b8%8a%e9%9d%a2%e6%b7%bb%e5%8a%a0%e6%92%ad%e6%94%be%e5%9b%be%e6%a0%87%e7%a4%ba%e4%be%8b","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/1967.html","title":{"rendered":"CSS\u56fe\u7247\u4e0a\u9762\u6dfb\u52a0\u64ad\u653e\u56fe\u6807\u793a\u4f8b"},"content":{"rendered":"

\u9f20\u6807\u79fb\u52a8\u5230\u56fe\u7247\u4e0a\u663e\u793a\u64ad\u653e\u56fe\u6807\u793a\u4f8b<\/h1>\n

\u6f14\u793a\u6548\u679c<\/h2>\n

\"\"<\/a><\/p>\n

\u524d\u7aefhtml\u4ee3\u7801<\/p>\n

<div class=\"play_name\">\r\n        <span class=\"title1\">\u6210\u4e3a\u5149\u8292 \u5b8c\u6574\u7248<\/span>\r\n        <span class=\"cname1\">Block B <\/span>\r\n        <div class=\"ico_play\"><\/div>\r\n    <\/div><\/code><\/pre>\n

css\u6837\u5f0f<\/h2>\n
.play_name {\r\n    background-image: url(sze.jpg);\r\n    width: 220px;\r\n    height: 124px;\r\n    cursor:pointer;\r\n    border:1px solid #fff;\r\n}\r\n.play_name:hover {\r\n    border:1px solid #cf9;\r\n}\r\n\r\n.play_name:hover .ico_play{\r\n    background-image: url(ico_play.png);\r\n}\r\n\r\n.title1 {\r\n    display: block;\r\n    padding-top: 80px;\r\n    padding-left: 4px;\r\n    font: 12px\/1.5 Tahoma, \"\u5fae\u8f6f\u96c5\u9ed1\";\r\n    color: #fff;\r\n    font-weight:bold;\r\n}\r\n\r\n.cname1 {\r\n    display: block;\r\n    padding-left: 4px;\r\n    font: 12px\/1.5 Tahoma, \"\u5fae\u8f6f\u96c5\u9ed1\";\r\n    color: #cf9;\r\n    font-weight:bold;\r\n}\r\n.ico_play {\r\n    position: absolute;\r\n    top: 48px;\r\n    left: 90px;\r\n    width: 60px;\r\n    height: 60px;\r\n}<\/code><\/pre>\n

\u4e0b\u9762\u662f\u6211\u7528\u7ec7\u68a6DEDECMS\u7684\u6a21\u677f\uff0c\u4fee\u6539\u7684\u6837\u5f0f\uff0c\u6709\u9700\u8981\u7684\u53ef\u4ee5\u501f\u9274\u4e00\u4e0b<\/p>\n

\u6a21\u677f\u91cc\u9762\u7684\u4ee3\u7801\uff1a<\/p>\n

<ul>\r\n{dede:arclist typeid=12 row=10 titlelen=80 orderby='pubdate' }\r\n\t\r\n<li><a href=\"[field:filename\/]\" title=\"[field:title\/]\">\r\n\t<div class=\"play_name\"><img src=\"[field:litpic\/]\" title=\"[field:title\/]\" alt=\"[field:title\/]\"><div class=\"ico_play\"><\/div>\r\n\t<h4>[field:title\/]<\/h4>\r\n\t<\/div>\r\n\t<\/a>\r\n<\/li>\r\n{\/dede:arclist}\r\n<\/ul><\/code><\/pre>\n

\u6837\u5f0f\uff1a<\/p>\n

.play_name {\r\n    width: 286px;\r\n    height: 160px;\r\n    cursor:pointer;\r\n    border:1px solid #fff;\r\n\tposition: relative;\r\n}\r\n.play_name:hover {\r\n    border:1px solid #cf9;\r\n}\r\n\r\n.play_name:hover .ico_play{\r\n    background-image: url(\/templets\/2018\/images\/ico_play.png);\r\n}\r\n\r\n.ico_play {\r\n    position: absolute;\r\n    top: 48px;\r\n    left: 110px;\r\n    width: 60px;\r\n    height: 60px;\r\n}<\/code><\/pre>\n

\u672c\u4f8b\u6240\u7528\u7d20\u6750\u6253\u5305\u4e0b\u8f7d\uff1a\n\n\t\"Placeholder\"\n\t\u4e0b\u8f7d1757<\/div>\n\n\t\n\n\t\t

\u5b9e\u73b0\u9f20\u6807\u653e\u5728\u56fe\u7247\u4e0a\u663e\u793a\u4e00\u4e2a\u64ad\u653e\u56fe\u6807<\/h1>\n\n\t\t\t\t\t\t\n\t\t\t\u4e0b\u8f7d\u6587\u4ef6\t\t\t20181031.zip\t\t\t\t– 14.80 KB<\/small>\n\t\t<\/a>\n\t\t\t<\/div>\n<\/aside>\n\n\n<\/p>\n

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

\u9f20\u6807\u79fb\u52a8\u5230\u56fe\u7247\u4e0a\u663e\u793a\u64ad\u653e\u56fe\u6807\u793a\u4f8b \u6f14\u793a\u6548\u679c \u524d\u7aefhtml\u4ee3\u7801 <div class=\"play_name […]<\/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":[651,652],"class_list":["post-1967","post","type-post","status-publish","format-standard","hentry","category-web","tag-css","tag-652"],"_links":{"self":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/1967","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=1967"}],"version-history":[{"count":0,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/1967\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/media?parent=1967"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/categories?post=1967"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/tags?post=1967"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}